From 74969bbb1ee83ee90d9d078cb38d4213c92a14ec Mon Sep 17 00:00:00 2001 From: Fabian Vogt 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