Changed: Don't need to create it on heap

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-18 13:27:48 +01:00
parent fc645a5668
commit c379c61ab7

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();
}