summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 09d4f03..1006cab 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -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();
}