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/panels/information/filemetadataconfigurationdialog.h | 2 +- src/panels/information/informationpanelcontent.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/panels') diff --git a/src/panels/information/filemetadataconfigurationdialog.h b/src/panels/information/filemetadataconfigurationdialog.h index 8ca9ef6fe..912fadadc 100644 --- a/src/panels/information/filemetadataconfigurationdialog.h +++ b/src/panels/information/filemetadataconfigurationdialog.h @@ -22,7 +22,7 @@ #include #include -#include "config-baloo.h" +#include #ifndef HAVE_BALOO class KFileMetaDataConfigurationWidget; diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 8b143af1d..a6c2b5622 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -20,10 +20,11 @@ #ifndef INFORMATIONPANELCONTENT_H #define INFORMATIONPANELCONTENT_H -#include "config-baloo.h" +#include + #include -#include +#include #include #include -- cgit v1.3