Revert "Unnecessary use of a pointer for MainWindow."

This reverts commit f33695eb2f.
This commit is contained in:
Andrius Štikonas 2018-04-02 13:01:56 +01:00
parent f33695eb2f
commit 73fef8d69c
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;
mainWindow.show();
MainWindow* mainWindow = new MainWindow();
mainWindow->show();
return app.exec();
}