diff options
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1035,10 +1035,6 @@ void SheMov::mappingEditor(){ } void SheMov::newPicsDialog(){ - QDialog dlg(this); - QHBoxLayout *dlgLayout = new QHBoxLayout; - NewPicsDialog *npd = new NewPicsDialog; - dlgLayout->addWidget(npd); - dlg.setLayout(dlgLayout); - dlg.exec(); + NewPicsDialog npd(this); + npd.exec(); } |