Changed: Don't need to create it on heap

This commit is contained in:
kervala 2016-01-18 13:27:48 +01:00
parent 181b516383
commit 61b97e7eea

View file

@ -31,8 +31,8 @@ int main(int argc, char *argv[])
Q_INIT_RESOURCE(tile_edit_qt);
QApplication app(argc, argv);
CTile_edit_dlg *tileEdit = new CTile_edit_dlg;
tileEdit->show();
CTile_edit_dlg tileEdit;
tileEdit.show();
return app.exec();
}