From ecbab34510f6f925ec4b03e02d24b1ceff4d2744 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 4 Feb 2018 11:38:50 +0100 Subject: Fix all krazy #include warnings - "include own header first line" - "put config.h in angle brackets line" - "do not include QtModule/QtClass line" `QElapsedTimer` was implicitly included by kfileitemmodelsortalgorithm.h, now we need to explicitly include it in kfileitemmodel.cpp. We also need to explicitly link to `Qt5::Concurrent`, otherwise we cannot `#include `. --- src/global.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/global.cpp') diff --git a/src/global.cpp b/src/global.cpp index 20dee00fa..d0e477bc8 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -17,16 +17,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include - -#include - #include "global.h" #include "dolphindebug.h" - #include "dolphin_generalsettings.h" +#include + +#include +#include + QList Dolphin::validateUris(const QStringList& uriList) { const QString currentDir = QDir::currentPath(); -- cgit v1.3