From 3b42a65a31b3fb40918e24967f2dd5cac5e71972 Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Wed, 5 Oct 2016 14:31:45 +0900 Subject: [PATCH] plasmapkg2 --- src/handlers/xdgurl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index 8d0f0b6..277f4d8 100644 --- a/src/handlers/xdgurl.cpp +++ b/src/handlers/xdgurl.cpp @@ -134,10 +134,11 @@ QJsonObject XdgUrl::_loadArchiveTypes() bool XdgUrl::_installPlasmapkg(const QString &path, const QString &type) { QProcess process; + QString program = "plasmapkg2"; // Use plasmapkg2 for now QStringList arguments; arguments << "-t" << type << "-i" << path; - process.start("plasmapkg2", arguments); + process.start(program, arguments); if (process.waitForFinished()) { return true; -- GitLab