From 1a898809aff96ee418b928f6ed1e9ab9d4264dd1 Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Thu, 22 Jun 2017 23:01:45 +0900 Subject: [PATCH] Fix --- app/src/handlers/itemhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/handlers/itemhandler.cpp b/app/src/handlers/itemhandler.cpp index 39aa42b..6255c39 100644 --- a/app/src/handlers/itemhandler.cpp +++ b/app/src/handlers/itemhandler.cpp @@ -359,11 +359,11 @@ void ItemHandler::installDownloadedFile(qtlib::NetworkResource *resource) package.installAsFile(tempDestDir.path() + "/" + filename); result["message"] = tr("The plasma look and feel has been installed"); } - else if ((installType == "plasma_desktopthemes" || installType == "plasma5_desktopthemes") + /*else if ((installType == "plasma_desktopthemes" || installType == "plasma5_desktopthemes") && package.installAsPlasmapkg("theme")) { package.installAsFile(tempDestDir.path() + "/" + filename); result["message"] = tr("The plasma desktop theme has been installed"); - } + }*/ else if (installType == "kwin_effects" && package.installAsPlasmapkg("kwineffect")) { package.installAsFile(tempDestDir.path() + "/" + filename); -- GitLab