You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.5 KiB
25 lines
1.5 KiB
diff -Nurr plasma-workspace-5.24.90/shell/packageplugins/lookandfeel/lookandfeel.cpp plasma-workspace-5.24.90-new/shell/packageplugins/lookandfeel/lookandfeel.cpp
|
|
--- plasma-workspace-5.24.90/shell/packageplugins/lookandfeel/lookandfeel.cpp 2022-05-19 12:38:19.000000000 +0200
|
|
+++ plasma-workspace-5.24.90-new/shell/packageplugins/lookandfeel/lookandfeel.cpp 2022-05-21 17:44:56.201054375 +0200
|
|
@@ -10,7 +10,7 @@
|
|
#include <KLocalizedString>
|
|
#include <KPackage/PackageLoader>
|
|
|
|
-#define DEFAULT_LOOKANDFEEL "org.kde.breeze.desktop"
|
|
+#define DEFAULT_LOOKANDFEEL "@DEFAULT_LOOKANDFEEL@"
|
|
|
|
void LookAndFeelPackage::initPackage(KPackage::Package *package)
|
|
{
|
|
diff -Nurr plasma-workspace-5.24.90/startkde/startplasma.cpp plasma-workspace-5.24.90-new/startkde/startplasma.cpp
|
|
--- plasma-workspace-5.24.90/startkde/startplasma.cpp 2022-05-19 12:38:19.000000000 +0200
|
|
+++ plasma-workspace-5.24.90-new/startkde/startplasma.cpp 2022-05-21 17:44:53.033054894 +0200
|
|
@@ -350,7 +350,7 @@
|
|
qputenv("XDG_CONFIG_DIRS", QFile::encodeName(extraConfigDir) + ':' + currentConfigDirs);
|
|
|
|
const KConfig globals;
|
|
- const QString currentLnf = KConfigGroup(&globals, QStringLiteral("KDE")).readEntry("LookAndFeelPackage", QStringLiteral("org.kde.breeze.desktop"));
|
|
+ const QString currentLnf = KConfigGroup(&globals, QStringLiteral("KDE")).readEntry("LookAndFeelPackage", QStringLiteral("@DEFAULT_LOOKANDFEEL@"));
|
|
QFile activeLnf(extraConfigDir + QLatin1String("/package"));
|
|
activeLnf.open(QIODevice::ReadOnly);
|
|
if (activeLnf.readLine() != currentLnf.toUtf8()) {
|