Mercurial > hg > easyhg
diff src/multichoicedialog.h @ 553:9c8147c9f245
Fix #354, Remote repo URL should be cleared when starting a new local project
author | Chris Cannam |
---|---|
date | Fri, 17 Feb 2012 10:58:41 +0000 |
parents | a582c6417004 |
children | 533519ebc0cb |
line wrap: on
line diff
--- a/src/multichoicedialog.h Thu Feb 16 14:30:46 2012 +0000 +++ b/src/multichoicedialog.h Fri Feb 17 10:58:41 2012 +0000 @@ -48,7 +48,8 @@ }; void addChoice(QString identifier, QString text, - QString description, ArgType arg); + QString description, ArgType arg, + bool defaultEmpty = false); void setCurrentChoice(QString); QString getCurrentChoice(); @@ -71,6 +72,7 @@ QMap<QString, QString> m_texts; QMap<QString, QString> m_descriptions; QMap<QString, ArgType> m_argTypes; + QMap<QString, bool> m_defaultEmpty; QMap<QString, QSharedPointer<RecentFiles> > m_recentFiles; QString m_currentChoice;