Unnecessary use of a pointer for MainWindow.

This commit is contained in:
Andrius Štikonas 2018-04-02 01:25:21 +01:00
parent 6f8cde5520
commit f33695eb2f
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
if (!loadBackend())
return 0;
MainWindow* mainWindow = new MainWindow();
mainWindow->show();
MainWindow mainWindow;
mainWindow.show();
return app.exec();
}