From 61db1afe44858c4355df46de12ebca439f4113bd Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 25 Apr 2018 10:58:14 +0200 Subject: [PATCH] fix crash when using space mouse on Windows and built with Qt5 --- src/Gui/GuiApplicationNativeEventAware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/GuiApplicationNativeEventAware.h b/src/Gui/GuiApplicationNativeEventAware.h index 88791ebc14..7c65875c75 100644 --- a/src/Gui/GuiApplicationNativeEventAware.h +++ b/src/Gui/GuiApplicationNativeEventAware.h @@ -70,7 +70,7 @@ namespace Gui { public: typedef bool (*EventFilter)(void *message, long *result); - RawInputEventFilter(EventFilter) { + RawInputEventFilter(EventFilter filter) : eventFilter(filter) { } virtual ~RawInputEventFilter() { }