aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-19 21:52:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-19 21:52:41 -0800
commit762315e7eef47c1a5357e9c8691676707e3c630e (patch)
tree8c1a25f1a026e920ff416677a759eb3708aa38f2 /qt-ui/divelogexportdialog.h
parent6a2efd9ff6e3657c35612f65c322ded25c984532 (diff)
downloadsubsurface-762315e7eef47c1a5357e9c8691676707e3c630e.tar.gz
Update Qt4 patch
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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);