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/itemlinkhandler.cpp | |
parent | ec51be4fd71babf30a73332bc4b73edb994ee462 (diff) | |
download | manaplus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.gz manaplus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.bz2 manaplus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.tar.xz manaplus-f29616d8d1309ee135afe2b2e7baf1d91d677a95.zip |
Convert MouseButton enum into strong typed enum.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 70b4e19e5..9953d0e6b 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -62,7 +62,7 @@ void ItemLinkHandler::handleLink(const std::string &link, MouseEvent *event) std::string url = link; replaceAll(url, " ", ""); listener.url = url; - const MouseButton::Type button = event->getButton(); + const MouseButtonT button = event->getButton(); if (button == MouseButton::LEFT) { ConfirmDialog *const confirmDlg = new ConfirmDialog( |