aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelogexportdialog.h')
-rw-r--r--qt-ui/divelogexportdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divelogexportdialog.h b/qt-ui/divelogexportdialog.h
index 14f8f4539..524416414 100644
--- a/qt-ui/divelogexportdialog.h
+++ b/qt-ui/divelogexportdialog.h
@@ -3,7 +3,9 @@
#include <QDialog>
#include <QTextStream>
+#if QT_VERSION >= 0x050000
#include <QFuture>
+#endif
#include "helpers.h"
#include "statistics.h"
@@ -28,7 +30,9 @@ slots:
void on_exportGroup_buttonClicked(QAbstractButton *);
private:
+#if QT_VERSION >= 0x050000
QFuture<int> future;
+#endif
Ui::DiveLogExportDialog *ui;
void showExplanation();
void exportHtmlInit(const QString &filename);