summaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-24 16:26:00 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-24 16:26:00 -0800
commitd42cc5a40c419fc3350a19eaf9e1154bc0433ca3 (patch)
tree135be41fefa4f41a6394e52f87a9470103a1831f /qthelper.cpp
parent4de739b935f7795e78333863d92f070e52b2f385 (diff)
downloadsubsurface-d42cc5a40c419fc3350a19eaf9e1154bc0433ca3.tar.gz
Enable libdivecomputer log or dump from the UI
Pick filenames for these functions as they are selected. Use the windows-safe fopen function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
-rw-r--r--qthelper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qthelper.cpp b/qthelper.cpp
index 111e01520..9587fcf3f 100644
--- a/qthelper.cpp
+++ b/qthelper.cpp
@@ -1,6 +1,9 @@
#include "qthelper.h"
#include "qt-ui/mainwindow.h"
+#include "qt-gui.h"
#include <QRegExp>
+#include <QDir>
+#include <QFileDialog>
#include <QDebug>
#define tr(_arg) mainWindow()->information()->tr(_arg)
@@ -197,4 +200,3 @@ QList< int > getDivesInTrip ( dive_trip_t* trip )
}
return ret;
}
-