Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11/plasma5-plasma-workspace: Unbreak Region&Language KCM (again)
Sponsored by: Serenity Cybersecurity, LLC
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- kcms/region_language/kcmregionandlang.cpp.orig 2023-10-25 10:05:43 UTC | ||
+++ kcms/region_language/kcmregionandlang.cpp | ||
@@ -61,7 +61,7 @@ KCMRegionAndLang::KCMRegionAndLang(QObject *parent, co | ||
qRegisterMetaType<KCM_RegionAndLang::SettingType>(); | ||
qmlRegisterUncreatableMetaObject(KCM_RegionAndLang::staticMetaObject, "kcmregionandlang", 1, 0, "SettingType", "Error: SettingType is an enum"); | ||
|
||
-#ifdef GLIBC_LOCALE_GENERATED | ||
+#if GLIBC_LOCALE_GENERATED | ||
// fedora pre generate locales, fetch available locales from localectl. /usr/share/i18n/locales is empty in fedora | ||
QDir glibcLocaleDir(localeFileDirPath()); | ||
if (glibcLocaleDir.isEmpty()) { |