From 7f2979f25e43230a4dee3bd5694e61a1dee501ae Mon Sep 17 00:00:00 2001 From: Vasilito Date: Tue, 21 Apr 2026 16:15:17 +0100 Subject: [PATCH] Refresh KDE source compatibility patches Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .../recipes/kde/kf6-kio/source/src/core/workerinterface.cpp | 6 ++++++ .../kde/kf6-kxmlgui/source/src/kswitchlanguagedialog_p.cpp | 6 +++--- local/recipes/kde/kf6-solid/source/CMakeLists.txt | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/local/recipes/kde/kf6-kio/source/src/core/workerinterface.cpp b/local/recipes/kde/kf6-kio/source/src/core/workerinterface.cpp index 2bc81bcb..c92d6543 100644 --- a/local/recipes/kde/kf6-kio/source/src/core/workerinterface.cpp +++ b/local/recipes/kde/kf6-kio/source/src/core/workerinterface.cpp @@ -11,6 +11,12 @@ #include "connection_p.h" #include "kiocoredebug.h" +#include + +#include + +#include + #include #include "usernotificationhandler_p.h" #include "workerbase.h" diff --git a/local/recipes/kde/kf6-kxmlgui/source/src/kswitchlanguagedialog_p.cpp b/local/recipes/kde/kf6-kxmlgui/source/src/kswitchlanguagedialog_p.cpp index 8e7cd5e2..20b9d33a 100644 --- a/local/recipes/kde/kf6-kxmlgui/source/src/kswitchlanguagedialog_p.cpp +++ b/local/recipes/kde/kf6-kxmlgui/source/src/kswitchlanguagedialog_p.cpp @@ -74,10 +74,10 @@ void initializeLanguages() // Ideally setting the LANGUAGE would change the default QLocale too // but unfortunately this is too late since the QCoreApplication constructor // already created a QLocale at this stage so we need to set the reset it -//////////////////////////////////////////// // by triggering the creation and destruction of a QSystemLocale +////////////////////////////////////////////////// // by triggering the creation and destruction of a QSystemLocale // this is highly dependent on Qt internals, so may break, but oh well -//////////////////////////////////////////// QSystemLocale *dummy = new QSystemLocale(); -//////////////////////////////////////////// delete dummy; +////////////////////////////////////////////////// QSystemLocale *dummy = new QSystemLocale(); +////////////////////////////////////////////////// delete dummy; } } diff --git a/local/recipes/kde/kf6-solid/source/CMakeLists.txt b/local/recipes/kde/kf6-solid/source/CMakeLists.txt index fe5267ff..f3f36ece 100644 --- a/local/recipes/kde/kf6-solid/source/CMakeLists.txt +++ b/local/recipes/kde/kf6-solid/source/CMakeLists.txt @@ -78,7 +78,7 @@ set_package_properties(PList PROPERTIES if (CMAKE_SYSTEM_NAME MATCHES Linux) # Used by the UDisks backend on Linux - ##########################find_package(LibMount) + #############################find_package(LibMount) set_package_properties(LibMount PROPERTIES TYPE REQUIRED) endif()