Refresh KDE source compatibility patches

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-21 16:15:17 +01:00
parent 360a62f22d
commit 7f2979f25e
3 changed files with 10 additions and 4 deletions
@@ -11,6 +11,12 @@
#include "connection_p.h" #include "connection_p.h"
#include "kiocoredebug.h" #include "kiocoredebug.h"
#include <QHostInfo>
#include <QHostInfo>
#include <QHostInfo>
#include <QHostInfo> #include <QHostInfo>
#include "usernotificationhandler_p.h" #include "usernotificationhandler_p.h"
#include "workerbase.h" #include "workerbase.h"
@@ -74,10 +74,10 @@ void initializeLanguages()
// Ideally setting the LANGUAGE would change the default QLocale too // Ideally setting the LANGUAGE would change the default QLocale too
// but unfortunately this is too late since the QCoreApplication constructor // 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 // 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 // this is highly dependent on Qt internals, so may break, but oh well
//////////////////////////////////////////// QSystemLocale *dummy = new QSystemLocale(); ////////////////////////////////////////////////// QSystemLocale *dummy = new QSystemLocale();
//////////////////////////////////////////// delete dummy; ////////////////////////////////////////////////// delete dummy;
} }
} }
@@ -78,7 +78,7 @@ set_package_properties(PList PROPERTIES
if (CMAKE_SYSTEM_NAME MATCHES Linux) if (CMAKE_SYSTEM_NAME MATCHES Linux)
# Used by the UDisks backend on Linux # Used by the UDisks backend on Linux
##########################find_package(LibMount) #############################find_package(LibMount)
set_package_properties(LibMount PROPERTIES set_package_properties(LibMount PROPERTIES
TYPE REQUIRED) TYPE REQUIRED)
endif() endif()