From 53fb7f39f4b617f3b93fca579af0002892ffe570 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Jan 2016 13:27:48 +0100 Subject: [PATCH] Changed: Don't need to create it on heap --- code/nel/tools/3d/tile_edit_qt/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/tile_edit_qt/main.cpp b/code/nel/tools/3d/tile_edit_qt/main.cpp index fe0ae6d45..2b00dcbb8 100644 --- a/code/nel/tools/3d/tile_edit_qt/main.cpp +++ b/code/nel/tools/3d/tile_edit_qt/main.cpp @@ -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(); } \ No newline at end of file