diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:53:40 +0300 |
commit | f29616d8d1309ee135afe2b2e7baf1d91d677a95 (patch) | |
tree | 77624591a88075bc2b1128520d950c717d353288 /src/gui/widgets/dropdown.cpp | |
parent | ec51be4fd71babf30a73332bc4b73edb994ee462 (diff) | |
download | manaverse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz manaverse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2 manaverse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz manaverse-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip |
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index db5caf6f7..f46d0f282 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -399,7 +399,7 @@ void DropDown::mouseReleased(MouseEvent &event) if (mIsDragged) mPushed = false; - const MouseButton::Type button = event.getButton(); + const MouseButtonT button = event.getButton(); const int x = event.getX(); const int y = event.getY(); // Released outside of widget. Can happen when we have modal |