Changed: Don't need to create it on heap
This commit is contained in:
parent
1641e48be0
commit
53fb7f39f4
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue