Commit 4d48ba71 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix build in kcmshell5, accidentially landed the wrong revision

Needs to be _argc, _argv.
parent 896dd551
......@@ -177,7 +177,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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment