Changed: Don't need to create it on heap

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent fc645a5668
commit c379c61ab7

@ -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();
} }
Loading…
Cancel
Save