Add support for saving window state
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user