diff options
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r-- | logic/LegacyInstance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index c2a4b66a..cf2c622c 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -127,9 +127,9 @@ QSharedPointer< ModList > LegacyInstance::loaderModList() return d->loader_mod_list; } -QSharedPointer< QDialog > LegacyInstance::createModEditDialog ( QWidget* parent ) +QDialog * LegacyInstance::createModEditDialog ( QWidget* parent ) { - return QSharedPointer<QDialog> (new LegacyModEditDialog(this, parent)); + return new LegacyModEditDialog(this, parent); } |