From d480f6b701894f78f3f4016d69c0e3b87939930b Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 12 Sep 2016 10:52:10 +0200 Subject: [PATCH] qt: Fix some includes * lang/qt/src/qgpgmekeyformailboxjob.cpp: Explicitly include QStringList. * lang/qt/tests/t-support.h, lang/qt/tests/t-support.cpp: Move includes into impl. Explicitly include QDir. -- This fixes build against Qt versions where the includes are less implicit. --- lang/qt/src/qgpgmekeyformailboxjob.cpp | 2 ++ lang/qt/tests/t-support.cpp | 5 +++++ lang/qt/tests/t-support.h | 3 --- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lang/qt/src/qgpgmekeyformailboxjob.cpp b/lang/qt/src/qgpgmekeyformailboxjob.cpp index 0702a365..803d0e60 100644 --- a/lang/qt/src/qgpgmekeyformailboxjob.cpp +++ b/lang/qt/src/qgpgmekeyformailboxjob.cpp @@ -33,6 +33,8 @@ #include "qgpgmekeyformailboxjob.h" #include "qgpgmekeylistjob.h" +#include + #include using namespace GpgME; diff --git a/lang/qt/tests/t-support.cpp b/lang/qt/tests/t-support.cpp index 2b21ce78..86372f70 100644 --- a/lang/qt/tests/t-support.cpp +++ b/lang/qt/tests/t-support.cpp @@ -33,6 +33,11 @@ #include +#include +#include +#include +#include + void QGpgMETest::initTestCase() { const QString gpgHome = qgetenv("GNUPGHOME"); diff --git a/lang/qt/tests/t-support.h b/lang/qt/tests/t-support.h index 74163b11..59d9a4dd 100644 --- a/lang/qt/tests/t-support.h +++ b/lang/qt/tests/t-support.h @@ -32,9 +32,6 @@ #define T_SUPPORT_H #include "interfaces/passphraseprovider.h" -#include -#include -#include #include namespace GpgME