summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-08-24 16:09:31 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-08-27 20:31:18 +0200
commit9810cbcd188f6e3d05f5fc45437a0b47e8d82f0e (patch)
treeb6c680fe7eecaf37a5715987dab4bb9244e0aa46 /tests
parentd95f4d00189082e0217ab06aa0911e6bbffb3ade (diff)
Include what you use ! filesystem.h uses QOperatingSystemVersion
So include that; and sort the includes while I'm about it. Change-Id: I0f922f7883f1e32b8bbcf555617588fa9cfacaaa Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/shared/filesystem.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/shared/filesystem.h b/tests/shared/filesystem.h
index c043493ab4..bb9d1948e5 100644
--- a/tests/shared/filesystem.h
+++ b/tests/shared/filesystem.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
@@ -29,12 +29,13 @@
#ifndef QT_TESTS_SHARED_FILESYSTEM_H_INCLUDED
#define QT_TESTS_SHARED_FILESYSTEM_H_INCLUDED
+#include <QDir>
+#include <QFile>
+#include <QOperatingSystemVersion>
+#include <QScopedPointer>
#include <QString>
#include <QStringList>
#include <QTemporaryDir>
-#include <QScopedPointer>
-#include <QDir>
-#include <QFile>
#if defined(Q_OS_WIN)
#include <windows.h>