From f29616d8d1309ee135afe2b2e7baf1d91d677a95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:53:40 +0300 Subject: Convert MouseButton enum into strong typed enum. --- src/gui/widgets/virtshortcutcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/virtshortcutcontainer.cpp') diff --git a/src/gui/widgets/virtshortcutcontainer.cpp b/src/gui/widgets/virtshortcutcontainer.cpp index 30dbe3770..44ea247cc 100644 --- a/src/gui/widgets/virtshortcutcontainer.cpp +++ b/src/gui/widgets/virtshortcutcontainer.cpp @@ -269,7 +269,7 @@ void VirtShortcutContainer::mousePressed(MouseEvent &event) event.consume(); - const MouseButton::Type eventButton = event.getButton(); + const MouseButtonT eventButton = event.getButton(); if (eventButton == MouseButton::LEFT) { if (mShortcut->getItem(index) > 0) -- cgit v1.2.3-70-g09d2