make performance improvements for Windows aswell
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Syping 2020-08-24 17:48:09 +02:00
parent 1038f000f7
commit cb8793f3b3
1 changed files with 0 additions and 4 deletions

View File

@ -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)
{