equal
deleted
inserted
replaced
60 drawMapWidget->load(fileName); |
60 drawMapWidget->load(fileName); |
61 } |
61 } |
62 |
62 |
63 void PageDrawMap::save() |
63 void PageDrawMap::save() |
64 { |
64 { |
65 QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), ".", tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)"); |
65 QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), "./map.hwmap", tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)"); |
66 |
66 |
67 if(!fileName.isEmpty()) |
67 if(!fileName.isEmpty()) |
68 drawMapWidget->save(fileName); |
68 drawMapWidget->save(fileName); |
69 } |
69 } |