Changed: Don't need to create it on heap

This commit is contained in:
kervala 2016-01-18 13:27:48 +01:00
parent 1641e48be0
commit 53fb7f39f4

View file

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