forked from pool/kde-cli-tools5
Fabian Vogt
2a6104db55
* 0001-Call-KLocalizedString-setApplicationDomain-after-Q-A.patch * 0002-Use-platform-detection-from-KWorkSpace-in-KCMShell.patch * 0003-Fix-build-in-kcmshell5-accidentially-landed-the-wron.patch OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-cli-tools5?expand=0&rev=187
28 lines
939 B
Diff
28 lines
939 B
Diff
From 74969bbb1ee83ee90d9d078cb38d4213c92a14ec Mon Sep 17 00:00:00 2001
|
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
|
Date: Tue, 27 Mar 2018 21:31:39 +0200
|
|
Subject: [PATCH 3/3] Fix build in kcmshell5, accidentially landed the wrong
|
|
revision
|
|
|
|
Needs to be _argc, _argv.
|
|
---
|
|
kcmshell/main.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/kcmshell/main.cpp b/kcmshell/main.cpp
|
|
index d855b96..aa2cd05 100644
|
|
--- a/kcmshell/main.cpp
|
|
+++ b/kcmshell/main.cpp
|
|
@@ -176,7 +176,7 @@ void KCMShell::appExit(const QString &appId, const QString &oldName, const QStri
|
|
extern "C" Q_DECL_EXPORT int kdemain(int _argc, char *_argv[])
|
|
{
|
|
const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM");
|
|
- KWorkSpace::detectPlatform(argc, argv);
|
|
+ KWorkSpace::detectPlatform(_argc, _argv);
|
|
KCMShell app(_argc, _argv);
|
|
if (!qpaVariable) {
|
|
// don't leak the env variable to processes we start
|
|
--
|
|
2.16.2
|
|
|