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/avatarlistbox.cpp | |
parent | ec51be4fd71babf30a73332bc4b73edb994ee462 (diff) | |
download | mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2 mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz mv-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip |
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index a3c29a68a..a7d060b10 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -608,7 +608,7 @@ void AvatarListBox::mousePressed(MouseEvent &event) ava->getType()); event.consume(); - const unsigned int eventButton = event.getButton(); + const MouseButtonT eventButton = event.getButton(); if (eventButton == MouseButton::LEFT) { if (type == MapItemType::EMPTY) |