diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-15 00:26:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-15 00:26:35 +0300 |
commit | ff516e9f60e9554e8938d04192a8e5ec9efb5647 (patch) | |
tree | b134dd0202377c5b182f62870b983fe078700e28 /src/gui/gui.cpp | |
parent | 269f642099ec8e4c6bcf735496c32ee8019aaf1b (diff) | |
download | manaverse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.gz manaverse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.bz2 manaverse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.xz manaverse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.zip |
fix code style.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 554c1ff42..deed890ae 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1234,7 +1234,7 @@ Widget* Gui::getKeyEventSource() return widget; } -void Gui::distributeKeyEvent(KeyEvent& keyEvent) +void Gui::distributeKeyEvent(KeyEvent& keyEvent) const { Widget* parent = keyEvent.getSource(); Widget* widget = keyEvent.getSource(); @@ -1437,7 +1437,7 @@ void Gui::handleModalFocusReleased() } } -int Gui::getMousePressLength() +int Gui::getMousePressLength() const { if (!mLastMousePressTimeStamp) return 0; |