Merge branch 'master' into games

This commit is contained in:
John Preston
2016-09-15 21:56:57 +03:00
17 changed files with 198 additions and 83 deletions
+7
View File
@@ -126,6 +126,13 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) {
}
}
bool Application::event(QEvent *e) {
if (e->type() == QEvent::Close) {
App::quit();
}
return QApplication::event(e);
}
void Application::socketConnected() {
LOG(("Socket connected, this is not the first application instance, sending show command..."));
_secondInstance = true;