┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/global.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-02-04 11:38:50 +0100
committerElvis Angelaccio <[email protected]>2018-02-04 11:38:50 +0100
commitecbab34510f6f925ec4b03e02d24b1ceff4d2744 (patch)
treef6fdd4665343fe71924f141e7cf24544008be337 /src/global.cpp
parent219e40cff8e91e6cf23f9aec5d1dc2f9d7e45577 (diff)
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 <QtConcurrentRun>`.
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp11
1 files changed, 5 insertions, 6 deletions
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 <QApplication>
-#include <QIcon>
-
-#include <KRun>
-
#include "global.h"
#include "dolphindebug.h"
-
#include "dolphin_generalsettings.h"
+#include <KRun>
+
+#include <QApplication>
+#include <QIcon>
+
QList<QUrl> Dolphin::validateUris(const QStringList& uriList)
{
const QString currentDir = QDir::currentPath();