-
Eike Ziller authored
Use ApplicationState and ApplicationStateChange event instead of deprecated ApplicationActivate event and unreliable QApplication::activeWindow(). That fixes an issue where the file change dialog was not shown after closing a modal dialog on Linux, because there the activeWindow is temporarily set to 0 for some reason. Also avoid excessive timer. Modifying a file that is open in Qt Creator should not result in the system waking up 5 times a second afterwards. Task-number: QTCREATORBUG-15687 Change-Id: I105d08cd590cc3c8ee5d8efdc568ad5fd2be0857 Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
16c7a262