@@ -39,7 +39,7 @@ class MeasuresSettingsModel : public AbstractInspectorModel
3939 Q_PROPERTY (bool allSystemsAreLocked READ allSystemsAreLocked NOTIFY allSystemsAreLockedChanged)
4040 Q_PROPERTY (bool scoreIsInPageView READ scoreIsInPageView NOTIFY scoreIsInPageViewChanged)
4141 Q_PROPERTY (bool isMakeIntoSystemAvailable READ isMakeIntoSystemAvailable NOTIFY isMakeIntoSystemAvailableChanged)
42- Q_PROPERTY (int systemCount READ systemCount NOTIFY systemCountChanged)
42+ Q_PROPERTY (size_t systemCount READ systemCount NOTIFY systemCountChanged)
4343
4444public:
4545 explicit MeasuresSettingsModel (QObject* parent, IElementRepositoryService* repository);
@@ -79,7 +79,7 @@ class MeasuresSettingsModel : public AbstractInspectorModel
7979 bool scoreIsInPageView () const ;
8080 bool isMakeIntoSystemAvailable () const ;
8181
82- int systemCount () const ;
82+ size_t systemCount () const ;
8383
8484protected:
8585 void onNotationChanged (const mu::engraving::PropertyIdSet&, const mu::engraving::StyleIdSet&) override ;
@@ -94,13 +94,13 @@ class MeasuresSettingsModel : public AbstractInspectorModel
9494 void allSystemsAreLockedChanged (bool allLocked);
9595 void scoreIsInPageViewChanged (bool isInPageView);
9696 void isMakeIntoSystemAvailableChanged (bool isMakeIntoSystemAvailable);
97- void systemCountChanged (int count);
97+ void systemCountChanged (size_t count);
9898
9999private:
100100 bool m_allSystemsAreLocked = false ;
101101 bool m_scoreIsInPageView = false ;
102102 bool m_isMakeIntoSystemAvailable = false ;
103- int m_systemCount = 0 ;
103+ size_t m_systemCount = 0 ;
104104};
105105}
106106
0 commit comments