logic: fixed showing Windows console and getting stuck while quitting

* fixed Sourcetrail being stuck while closing the application
* building Sourcetrail as Console application by default
* hiding console during runtime on Windows if Sourcetrail is started with GUI
This commit is contained in:
malte_langkabel
2017-08-10 17:09:47 +02:00
parent ba4e07e361
commit 42b286909d
5 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ void QtMainWindow::closeEvent(QCloseEvent* event)
{
log->setEnabled(false);
}
MessageWindowClosed().dispatch();
MessageWindowClosed().dispatchImmediately();
}
void QtMainWindow::resizeEvent(QResizeEvent *event)