summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2018-01-02 13:32:16 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2018-01-02 13:32:16 +0100
commitf98648e9845e3bb9328b40b7cb02d3d826847dbb (patch)
treeefa797c21182cc5e9970a9ac2b5fd621ee608345
parent2c72ed4f9809fc781aa97af43767ee0b7c8ca3b0 (diff)
QT_VERSION_CHECK in header too
-rw-r--r--src/pass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pass.h b/src/pass.h
index 4242b422..44f81a1f 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -9,7 +9,9 @@
#include <QList>
#include <QProcess>
#include <QQueue>
+#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
#include <QRandomGenerator>
+#endif
#include <QString>
#include <QTextCodec>
#include <map>