QTfrontend/pagedrawmap.cpp
changeset 5849 b84b41aba275
parent 5204 e1a5f4d5d86a
child 5850 f07e2a5e6ad0
--- a/QTfrontend/pagedrawmap.cpp	Sun Sep 11 08:54:21 2011 -0400
+++ b/QTfrontend/pagedrawmap.cpp	Sun Sep 11 15:18:46 2011 +0200
@@ -45,7 +45,7 @@
 
 void PageDrawMap::load()
 {
-    QString fileName = QFileDialog::getOpenFileName(this, tr("Load drawn map"), ".", tr("Drawn Maps (*.hwmap);;All files (*.*)"));
+    QString fileName = QFileDialog::getOpenFileName(NULL, tr("Load drawn map"), ".", tr("Drawn Maps (*.hwmap);;All files (*.*)"));
 
     if(!fileName.isEmpty())
         drawMapWidget->load(fileName);
@@ -53,7 +53,7 @@
 
 void PageDrawMap::save()
 {
-    QString fileName = QFileDialog::getSaveFileName(this, tr("Save drawn map"), ".", tr("Drawn Maps (*.hwmap);;All files (*.*)"));
+    QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), ".", tr("Drawn Maps (*.hwmap);;All files (*.*)"));
 
     if(!fileName.isEmpty())
         drawMapWidget->save(fileName);