Add support for saving window state

This commit is contained in:
2017-10-21 01:39:18 -05:00
parent b6b9181c66
commit 73e0629ab4
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ int run(int argc, char **args) {
MainWindow w(argProfilePath);
app.setApplicationName(w.windowTitle());
w.show();
QObject::connect(&app, SIGNAL(aboutToQuit()), &w, SLOT(onExit()));
return app.exec();
}