Make a few methods const

pull/3/head
Hleb Valoshka 2019-06-19 14:33:26 +03:00
parent e255a34c7a
commit 2475a7f1b3
1 changed files with 3 additions and 3 deletions

View File

@ -145,9 +145,9 @@ class FPSActionGroup
public:
FPSActionGroup(QObject *p = nullptr);
std::map<int, QAction*> &actions() { return m_actions; }
QAction *customAction() { return m_customAction; }
int lastFPS() { return m_lastFPS; }
const std::map<int, QAction*>& actions() const { return m_actions; }
QAction *customAction() const { return m_customAction; }
int lastFPS() const { return m_lastFPS; }
void updateFPS(int);
};