From cb8793f3b3fb692bbdbe9e63efaa46e2070d477d Mon Sep 17 00:00:00 2001 From: Syping Date: Mon, 24 Aug 2020 17:48:09 +0200 Subject: [PATCH] make performance improvements for Windows aswell --- ProfileInterface.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 839535e..3e71879 100644 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -1781,11 +1781,7 @@ bool ProfileInterface::eventFilter(QObject *watched, QEvent *event) return true; } } -#ifdef GTA5SYNC_WIN - else if (event->type() == QEvent::MouseButtonPress || event->type() == QEvent::MouseButtonRelease || event->type() == QEvent::WindowActivate) -#else else if (event->type() == QEvent::MouseButtonPress || event->type() == QEvent::MouseButtonRelease) -#endif { if ((watched->objectName() == "SavegameWidget" || watched->objectName() == "SnapmaticWidget") && isProfileLoaded) {