diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 16:26:00 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 16:26:00 -0800 |
commit | d42cc5a40c419fc3350a19eaf9e1154bc0433ca3 (patch) | |
tree | 135be41fefa4f41a6394e52f87a9470103a1831f /qthelper.cpp | |
parent | 4de739b935f7795e78333863d92f070e52b2f385 (diff) | |
download | subsurface-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.cpp | 4 |
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; } - |