summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Patrick Valsecchi <patrick@thus.ch>2013-10-02 08:34:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-04 09:46:26 -0700
commit36c28089dbae3ed2fa395c0882994db1dbfe0cab (patch)
tree64ebb9e185ae6f410c530e691ed98a95fd037f13 /qt-ui
parentfb5ae28865fec02b02f2b1be27192de2d2a9b389 (diff)
downloadsubsurface-36c28089dbae3ed2fa395c0882994db1dbfe0cab.tar.gz
Added the .ssrf extension to the open dialog filter.
Fixes #205 Signed-off-by: Patrick Valsecchi <patrick@thus.ch> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index fc11d790c..6beee5cf7 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -415,7 +415,7 @@ void MainWindow::on_actionUserManual_triggered()
QString MainWindow::filter()
{
QString f;
- f += "ALL ( *.xml *.XML *.uddf *.udcf *.UDFC *.jlb *.JLB ";
+ f += "ALL ( *.ssrf *.xml *.XML *.uddf *.udcf *.UDFC *.jlb *.JLB ";
#ifdef LIBZIP
f += "*.sde *.SDE *.dld *.DLD ";
#endif
@@ -424,6 +424,7 @@ QString MainWindow::filter()
#endif
f += ");;";
+ f += "Subsurface (*.ssrf);;";
f += "XML (*.xml *.XML);;";
f += "UDDF (*.uddf);;";
f += "UDCF (*.udcf *.UDCF);;";