From 854a5e65cba175ed9f9654c967822aa4b170927b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 13 Dec 2020 10:05:01 +0100 Subject: Don't include QtTest as it includes all QtCore includes --- autotests/fallbackconfigresourcestest.cpp | 2 +- autotests/kconfig_compiler/kconfigcompiler_test.cpp | 2 +- autotests/kconfigloadertest.h | 2 +- autotests/kconfignokdehometest.cpp | 2 +- autotests/kconfigtest.cpp | 4 +++- autotests/kdesktopfiletest.cpp | 2 +- autotests/kentrymaptest.cpp | 2 +- autotests/ksharedconfigtest.cpp | 2 +- autotests/kstandardshortcuttest.cpp | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) (limited to 'autotests') diff --git a/autotests/fallbackconfigresourcestest.cpp b/autotests/fallbackconfigresourcestest.cpp index 8d7768ee..0b1a3697 100644 --- a/autotests/fallbackconfigresourcestest.cpp +++ b/autotests/fallbackconfigresourcestest.cpp @@ -5,7 +5,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later */ -#include +#include #include #include diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp index c16075d6..6afc0096 100644 --- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp +++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include "kconfigcompiler_test.h" diff --git a/autotests/kconfigloadertest.h b/autotests/kconfigloadertest.h index 697aa06b..0a4b58a1 100644 --- a/autotests/kconfigloadertest.h +++ b/autotests/kconfigloadertest.h @@ -7,7 +7,7 @@ #ifndef KCONFIGLOADERTEST_H #define KCONFIGLOADERTEST_H -#include +#include class KConfigLoader; diff --git a/autotests/kconfignokdehometest.cpp b/autotests/kconfignokdehometest.cpp index 8c29fb37..1d05d98d 100644 --- a/autotests/kconfignokdehometest.cpp +++ b/autotests/kconfignokdehometest.cpp @@ -6,7 +6,7 @@ #include -#include +#include #include #include diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp index 41f293a7..20414e45 100644 --- a/autotests/kconfigtest.cpp +++ b/autotests/kconfigtest.cpp @@ -12,9 +12,11 @@ #include "config-kconfig.h" -#include +#include #include #include +#include +#include #include #include diff --git a/autotests/kdesktopfiletest.cpp b/autotests/kdesktopfiletest.cpp index 983ac68d..e1b9c997 100644 --- a/autotests/kdesktopfiletest.cpp +++ b/autotests/kdesktopfiletest.cpp @@ -11,7 +11,7 @@ #include "kdesktopfile.h" -#include +#include QTEST_MAIN(KDesktopFileTest) diff --git a/autotests/kentrymaptest.cpp b/autotests/kentrymaptest.cpp index a84c4b4e..406e4e99 100644 --- a/autotests/kentrymaptest.cpp +++ b/autotests/kentrymaptest.cpp @@ -6,7 +6,7 @@ #include "kentrymaptest.h" -#include +#include const QByteArray group1("A Group"); const QByteArray key1("A Key"); diff --git a/autotests/ksharedconfigtest.cpp b/autotests/ksharedconfigtest.cpp index 97a9d69c..957b509f 100644 --- a/autotests/ksharedconfigtest.cpp +++ b/autotests/ksharedconfigtest.cpp @@ -5,7 +5,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later */ -#include +#include #include #include diff --git a/autotests/kstandardshortcuttest.cpp b/autotests/kstandardshortcuttest.cpp index e2447037..33fdf2f1 100644 --- a/autotests/kstandardshortcuttest.cpp +++ b/autotests/kstandardshortcuttest.cpp @@ -4,7 +4,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later */ -#include +#include #include "kstandardshortcuttest.h" QTEST_MAIN(KStandardShortcutTest) // GUI needed by KAccel -- cgit v1.2.1