Gui: change Command::getRevision() to const

This commit is contained in:
Zheng, Lei
2022-03-12 14:41:35 +08:00
committed by wwmayer
parent a2d886b7ea
commit dc8bcf46c4

View File

@@ -882,7 +882,7 @@ public:
void updateCommands(const char* sContext, int mode);
/// Return a revision number to check for addition or removal of any command
int getRevision() { return _revision; }
int getRevision() const { return _revision; }
/// Signal on any addition or removal of command
boost::signals2::signal<void ()> signalChanged;