summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-30 06:52:34 +0100
committerMontel Laurent <[email protected]>2017-10-30 06:52:34 +0100
commit37e183ffd508565b53823de4363ca0a85cd53485 (patch)
tree7d1210d0403b8f5af7f5c95cdedd5b5098cfc005
parentf63ad222b1d26ceaee00fe020ed58a936789468e (diff)
Clean includes/forward declaration
-rw-r--r--plugins/messageviewer/bodypartformatter/pkpass/pkpass_plugin.cpp3
-rw-r--r--plugins/messageviewer/bodypartformatter/pkpass/pkpassboardingpass.cpp1
-rw-r--r--plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.cpp2
-rw-r--r--plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.h1
4 files changed, 2 insertions, 5 deletions
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/pkpass_plugin.cpp b/plugins/messageviewer/bodypartformatter/pkpass/pkpass_plugin.cpp
index e09aeb5..64fe7ad 100644
--- a/plugins/messageviewer/bodypartformatter/pkpass/pkpass_plugin.cpp
+++ b/plugins/messageviewer/bodypartformatter/pkpass/pkpass_plugin.cpp
@@ -30,10 +30,9 @@
#include <grantlee/metatype.h>
#include <grantlee/template.h>
-#include <QDebug>
+#include <QUrl>
#include <QImage>
#include <QMetaProperty>
-#include <QUrl>
// Grantlee has no Q_GADGET support yet
GRANTLEE_BEGIN_LOOKUP(PkPassField)
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/pkpassboardingpass.cpp b/plugins/messageviewer/bodypartformatter/pkpass/pkpassboardingpass.cpp
index 9fa3948..89f4b17 100644
--- a/plugins/messageviewer/bodypartformatter/pkpass/pkpassboardingpass.cpp
+++ b/plugins/messageviewer/bodypartformatter/pkpass/pkpassboardingpass.cpp
@@ -19,7 +19,6 @@
#include "pkpassboardingpass.h"
-#include <QDebug>
PkPassBoardingPass::PkPassBoardingPass(QObject *parent)
: PkPassFile(QStringLiteral("boardingPass"), parent)
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.cpp b/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.cpp
index 68ec60e..b8649e3 100644
--- a/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.cpp
+++ b/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.cpp
@@ -24,13 +24,13 @@
#include <prison/Prison>
#include <QBuffer>
-#include <QDebug>
#include <QImage>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QLocale>
#include <QTextCodec>
+#include <QImage>
PkPassFile::PkPassFile(const QString &passType, QObject *parent)
: QObject(parent)
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.h b/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.h
index abdc8a2..f832d12 100644
--- a/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.h
+++ b/plugins/messageviewer/bodypartformatter/pkpass/pkpassfile.h
@@ -32,7 +32,6 @@
class KZip;
class QBuffer;
-class QColor;
class QLatin1String;
class QString;