Commit 8f60c36a authored by Laurent Montel's avatar Laurent Montel
Browse files

Remove unused includes

parent 82613897
Pipeline #237343 passed with stage
in 4 minutes and 53 seconds
......@@ -10,7 +10,6 @@
#include "kgopenalruntime_p.h"
// Qt
#include <QDebug>
#include <QGlobalStatic>
Q_GLOBAL_STATIC(KgOpenALRuntime, g_runtime)
......
......@@ -19,7 +19,6 @@
#include <KStandardGuiItem>
// Qt
#include <QFile>
#include <QGlobalStatic>
#include <QLockFile>
#ifndef WIN32
......
......@@ -13,7 +13,6 @@
#include "khighscore.h"
// KF
#include <KConfig>
#include <KConfigGroup>
#include <KLineEdit>
#include <KLocalizedString>
#include <KSeparator>
......@@ -21,6 +20,7 @@
// Qt
#include <QApplication>
#include <QByteArray>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QKeyEvent>
#include <QLabel>
......
......@@ -13,8 +13,6 @@
#include <libkdegames_export.h>
// Qt
#include <QDialog>
#include <QDialogButtonBox>
#include <QFlags>
#include <QMap>
// Std
#include <memory>
......
......@@ -12,7 +12,6 @@
#include <libkdegames_export.h>
// Qt
#include <QGraphicsItem>
#include <QObject>
// Std
#include <memory>
......
......@@ -12,7 +12,6 @@
#include <libkdegames_export.h>
// Qt
#include <QGraphicsItem>
#include <QObject>
// Std
#include <memory>
......
......@@ -20,7 +20,6 @@
#include <KXmlGuiWindow>
// Qt
#include <QCoreApplication>
#include <QGlobalStatic>
#include <QIcon>
#include <QStatusBar>
#include <QVector>
......
......@@ -13,7 +13,6 @@
#include <QLoggingCategory>
#include <QMetaType>
#include <QObject>
#include <QPixmap>
// Std
#include <memory>
......
......@@ -12,8 +12,10 @@
#include <KConfigGroup>
#include <KSharedConfig>
// Qt
#include <QDir>
#include <QFileInfo>
#include <QGuiApplication>
#include <QQmlContext>
#include <QStandardPaths>
// Std
#include <utility>
......
......@@ -11,10 +11,7 @@
#include "kgtheme.h"
#include <libkdegames_export.h>
// Qt
#include <QDir>
#include <QObject>
#include <QPointer>
#include <QQmlContext>
#include <QQmlEngine>
// Std
#include <memory>
......
......@@ -10,7 +10,6 @@
// KF
#include <KActionCollection>
#include <KConfig>
#include <KLazyLocalizedString>
#include <KLocalizedString>
#include <KStandardShortcut>
......
......@@ -17,12 +17,11 @@
#include <KLineEdit>
#include <KLocalizedString>
// Qt
#include <QApplication>
#include <QComboBox>
#include <QLayout>
#include <QHBoxLayout>
#include <QList>
#include <QListView>
#include <QPixmap>
#include <QVBoxLayout>
Q_LOGGING_CATEGORY(GAMES_PRIVATE, "org.kde.games.private", QtWarningMsg)
......
......@@ -14,7 +14,6 @@
// Qt
#include <KProcess>
#include <QDataStream>
#include <QFile>
#include <QTcpSocket>
// ----------------------- KMessageIO -------------------------
......
......@@ -12,7 +12,6 @@
#include "libkdegamesprivate_export.h"
// Qt
#include <QObject>
#include <QString>
// Std
#include <memory>
......
......@@ -13,7 +13,6 @@
#include <QDomDocument>
#include <QHash>
#include <QLoggingCategory>
#include <QStringList>
#include <QTransform>
// Std
#include <memory>
......
......@@ -16,7 +16,6 @@
#include <QCoreApplication>
#include <QDir>
#include <QDirIterator>
#include <QIcon>
#include <QStandardPaths>
// Std
#include <utility>
......
......@@ -10,7 +10,6 @@
#include <config-tests.h>
// Qt
#include <QTest>
#include <QtCore>
void tst_KGamePropertyTest::initTestCase()
{
......
  • ... and break things for (some) library consumers. Even more irony that you removed QQmlContext includes from others and now it is missing there, because you removed it here.

    Where can I and others send the bill for working on fixing those breakages? 3 apps fixed now.

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment