Skip to content
Snippets Groups Projects
Commit abc64c73 authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix condition

parent ba71ca2a
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ void XdgUrl::_installDownloadedFile(QNetworkReply *reply)
&& Utility::Package::installPlasmapkg(temporaryFile.fileName(), "windowswitcher")) {
result["message"] = QString("The KWin window switcher has been installed");
}
else if (type == "bin" || type == "appimage"
else if ((type == "bin" || type == "appimage")
&& Utility::Package::installProgram(temporaryFile.fileName(), path)) {
result["message"] = QString("The program has been installed into " + destination);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment