summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-11-17 22:10:38 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-17 13:39:57 -0800
commit092e8463fef3b942cdeb3f958b0005fe403f5879 (patch)
tree61693b11dc3b551b65e096b738cb65546460fc2b /qt-ui/mainwindow.cpp
parent188cdc7d0617f46afbc71d1eb21b0058c3447a30 (diff)
downloadsubsurface-092e8463fef3b942cdeb3f958b0005fe403f5879.tar.gz
Add more file types to import/default log file dialog
- Allow ssrf as a default log file suffix. - Allow sde/dld/db as import log suffices (we don't use the LIBZIP and SQLITE3 ifdefs anymore) Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 6ed04911d..183143aff 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -472,12 +472,8 @@ QString MainWindow::filter()
{
QString f;
f += "ALL ( *.ssrf *.xml *.XML *.uddf *.udcf *.UDFC *.jlb *.JLB ";
-#ifdef LIBZIP
f += "*.sde *.SDE *.dld *.DLD ";
-#endif
-#ifdef SQLITE3
f += "*.db";
-#endif
f += ");;";
f += "Subsurface (*.ssrf);;";
@@ -486,13 +482,9 @@ QString MainWindow::filter()
f += "UDCF (*.udcf *.UDCF);;";
f += "JLB (*.jlb *.JLB);;";
-#ifdef LIBZIP
f += "SDE (*.sde *.SDE);;";
f += "DLD (*.dld *.DLD);;";
-#endif
-#ifdef SQLITE3
f += "DB (*.db)";
-#endif
return f;
}