Commit 96732d70 authored by Eike Ziller's avatar Eike Ziller

Fixes: - Freeze on Mac when files change outside of qtcreator

RevBy:    - mae
parent 5d316a49
......@@ -463,7 +463,10 @@ void FileManager::changedFile(const QString &file)
void FileManager::mainWindowActivated()
{
checkForReload();
//we need to do this asynchronously because
//opening a dialog ("Reload?") in a windowactivated event
//freezes on Mac
QTimer::singleShot(0, this, SLOT(checkForReload()));
}
void FileManager::checkForReload()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment