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/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index a48b2c062..2187056f9 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -810,7 +810,7 @@ void Window::mousePressed(MouseEvent &event) mMoved = event.getY() <= static_cast(mTitleBarHeight); } - const MouseButton::Type button = event.getButton(); + const MouseButtonT button = event.getButton(); if (button == MouseButton::LEFT) { const int x = event.getX(); -- cgit v1.2.3-70-g09d2