summaryrefslogtreecommitdiffstats
path: root/tests/testqml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testqml.cpp')
-rw-r--r--tests/testqml.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/testqml.cpp b/tests/testqml.cpp
index 0b75d8d48..d0c98b709 100644
--- a/tests/testqml.cpp
+++ b/tests/testqml.cpp
@@ -1,13 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
+#include <QApplication>
+#include <QQmlContext>
#include <QQmlEngine>
#include <QtQuickTest>
#include <QtTest>
-#include <QQmlEngine>
-#include <QQmlContext>
-#include <QApplication>
-#include "core/settings/qPref.h"
#include "core/qt-gui.h"
+#include "core/settings/qPref.h"
// this is the content of QUICK_TEST_MAIN amended with
// registration of ssrf classes
@@ -34,7 +33,7 @@ int main(int argc, char **argv)
// save tst_dir and pass rest to Qt
const char *tst_dir = argv[1];
for (int i = 1; i < argc; i++)
- argv[i] = argv[i+1];
+ argv[i] = argv[i + 1];
argc--;
// Register types