diff --git a/app/primaryoutputwatcher.cpp b/app/primaryoutputwatcher.cpp index 773e48b5f..cef2742d7 100644 --- a/app/primaryoutputwatcher.cpp +++ b/app/primaryoutputwatcher.cpp @@ -19,11 +19,7 @@ #include #if HAVE_X11 #include //Used only in x11 case -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) #include -#else -#include -#endif #include #include #include diff --git a/app/screenpool.cpp b/app/screenpool.cpp index a87c759a2..a4e37fdf3 100644 --- a/app/screenpool.cpp +++ b/app/screenpool.cpp @@ -22,9 +22,9 @@ // X11 #if HAVE_X11 -#include -#include +#include #include +#include #include #endif @@ -141,11 +141,7 @@ void ScreenPool::updateScreenGeometry(const int &screenId, const QRect &screenGe emit screenGeometryChanged(); } - -Latte::Data::ScreensTable ScreenPool::screensTable() -{ - return m_screensTable; -} +Latte::Data::ScreensTable ScreenPool::screensTable() { return m_screensTable; } void ScreenPool::reload(QString path) { @@ -242,8 +238,7 @@ int ScreenPool::id(const QString &connector) const return screenId.isEmpty() ? NOSCREENID : screenId.toInt(); } -QString ScreenPool::connector(int id) const -{ +QString ScreenPool::connector(int id) const { QString idStr = QString::number(id); return (m_screensTable.containsId(idStr) ? m_screensTable[idStr].name : QString()); } diff --git a/app/shortcuts/globalshortcuts.cpp b/app/shortcuts/globalshortcuts.cpp index 1bc157e07..bc57cc960 100644 --- a/app/shortcuts/globalshortcuts.cpp +++ b/app/shortcuts/globalshortcuts.cpp @@ -25,9 +25,9 @@ // Qt #include #include -#include #include -#include +#include +#include // KDE #include diff --git a/app/wm/tasktools.cpp b/app/wm/tasktools.cpp index 5c2f06862..251768ace 100644 --- a/app/wm/tasktools.cpp +++ b/app/wm/tasktools.cpp @@ -24,7 +24,7 @@ #include #include #if HAVE_X11 -#include +#include #endif namespace Latte diff --git a/app/wm/waylandinterface.cpp b/app/wm/waylandinterface.cpp index df8d0fae6..4160a800b 100644 --- a/app/wm/waylandinterface.cpp +++ b/app/wm/waylandinterface.cpp @@ -16,12 +16,12 @@ #include "../lattecorona.h" // Qt -#include -#include #include -#include -#include +#include #include +#include +#include +#include // KDE #include diff --git a/app/wm/xwindowinterface.cpp b/app/wm/xwindowinterface.cpp index dc7732be5..f80b46ba6 100644 --- a/app/wm/xwindowinterface.cpp +++ b/app/wm/xwindowinterface.cpp @@ -16,7 +16,7 @@ // Qt #include #include -#include +#include // KDE #include