diff options
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 59d50fc..f42fc73 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -55,10 +55,7 @@ private: // Button block stuff QTimer *_buttonLockTimer; QList<QAction*> _lockingButtons; - static const qint64 _buttonBlockTime = 2000; - - /* Context-sensitive Buttons */ - QList<QAction*> _contextButtons; + static const qint64 BUTTON_BLOCK_TIME = 2000; // Management stuff enum class Mode @@ -96,8 +93,7 @@ private: int getTileWidthPx() const; int getTileHeightPx() const; - void lockContextButtons(); - void unlockContextButtons(); + void updateContextButtonStates(); void reloadCurrentRoom(); |