From e83437e6e5caf39c1c5df4e7ab5600440e43ff28 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 10 Feb 2018 14:04:57 +0100 Subject: [PATCH 1/3] Call KLocalizedString::setApplicationDomain after Q*App creation As now recommended, to ensure all locale settings are done from Qt side --- kcmshell/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmshell/main.cpp b/kcmshell/main.cpp index dd4ed1c..93dd6f8 100644 --- a/kcmshell/main.cpp +++ b/kcmshell/main.cpp @@ -173,9 +173,9 @@ void KCMShell::appExit(const QString &appId, const QString &oldName, const QStri extern "C" Q_DECL_EXPORT int kdemain(int _argc, char *_argv[]) { + KCMShell app(_argc, _argv); KLocalizedString::setApplicationDomain("kcmshell5"); - KCMShell app(_argc, _argv); app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); KAboutData aboutData("kcmshell5", i18n("System Settings Module"), -- 2.16.2