--- 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);