From a65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 7 Nov 2015 10:39:46 +0100 Subject: Refactored Painter. --- plugingui/eventhandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugingui/eventhandler.h') diff --git a/plugingui/eventhandler.h b/plugingui/eventhandler.h index b865cbb..8fa42e4 100644 --- a/plugingui/eventhandler.h +++ b/plugingui/eventhandler.h @@ -36,7 +36,7 @@ class Window; class EventHandler { public: - EventHandler(NativeWindow *nativeWindow, Window *window); + EventHandler(NativeWindow& nativeWindow, Window& window); //! \brief Process all evebts currently in the event queue. void processEvents(); @@ -51,8 +51,8 @@ public: Notifier<> closeNotifier; private: - Window *window; - NativeWindow *nativeWindow; + Window& window; + NativeWindow& nativeWindow; // Used to ignore mouse button release after a double click. bool lastWasDoubleClick; -- cgit v1.2.3