make "All Files" file filter in file dialog actually display all files rather then just those with a dot in their name
--- a/QTfrontend/pagedrawmap.cpp Sun Sep 11 15:18:46 2011 +0200
+++ b/QTfrontend/pagedrawmap.cpp Sun Sep 11 15:38:45 2011 +0200
@@ -45,7 +45,7 @@
void PageDrawMap::load()
{
- QString fileName = QFileDialog::getOpenFileName(NULL, 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(NULL, tr("Save drawn map"), ".", tr("Drawn Maps (*.hwmap);;All files (*.*)"));
+ QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), ".", tr("Drawn Maps (*.hwmap)"));
if(!fileName.isEmpty())
drawMapWidget->save(fileName);