Mercurial > hg > svgui
diff widgets/SubdividingMenu.h @ 807:e4773943c9c1 warnfix_no_size_t
More unsigned/long and warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:55:27 +0100 |
parents | cd81066ac7ad |
children | edfc38ade098 |
line wrap: on
line diff
--- a/widgets/SubdividingMenu.h Tue Jun 17 15:36:56 2014 +0100 +++ b/widgets/SubdividingMenu.h Tue Jun 17 15:55:27 2014 +0100 @@ -39,10 +39,10 @@ Q_OBJECT public: - SubdividingMenu(size_t lowerLimit = 0, size_t upperLimit = 0, + SubdividingMenu(int lowerLimit = 0, int upperLimit = 0, QWidget *parent = 0); - SubdividingMenu(const QString &title, size_t lowerLimit = 0, - size_t upperLimit = 0, QWidget *parent = 0); + SubdividingMenu(const QString &title, int lowerLimit = 0, + int upperLimit = 0, QWidget *parent = 0); virtual ~SubdividingMenu(); void setEntries(const std::set<QString> &entries); @@ -65,8 +65,8 @@ protected: std::map<QString, QMenu *> m_nameToChunkMenuMap; - size_t m_lowerLimit; - size_t m_upperLimit; + int m_lowerLimit; + int m_upperLimit; bool m_entriesSet; std::map<QString, QObject *> m_pendingEntries;