From ec4f3ed9192d68dc90bb8e3ca7992bcb5478a23c Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Tue, 11 Oct 2016 07:42:57 +0900 Subject: [PATCH] qInfo syntax --- src/handlers/xdgurl.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index 19ca225..6384f15 100644 --- a/src/handlers/xdgurl.cpp +++ b/src/handlers/xdgurl.cpp @@ -187,33 +187,33 @@ void XdgUrl::_installDownloadedFile(QNetworkReply *reply) if ((type == "plasma_plasmoids" || type == "plasma4_plasmoids" || type == "plasma5_plasmoids") && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "plasmoid")) { - qInfo("The plasmoid has been installed"); + qInfo() << "The plasmoid has been installed"; } else if ((type == "plasma_look_and_feel" || type == "plasma5_look_and_feel") && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "lookandfeel")) { - qInfo("The plasma look and feel has been installed"); + qInfo() << "The plasma look and feel has been installed"; } else if ((type == "plasma_desktopthemes" || type == "plasma5_desktopthemes") && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "theme")) { - qInfo("The plasma desktop theme has been installed"); + qInfo() << "The plasma desktop theme has been installed"; } else if (type == "kwin_effects" && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "kwineffect")) { - qInfo("The KWin effect has been installed"); + qInfo() << "The KWin effect has been installed"; } else if (type == "kwin_scripts" && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "kwinscript")) { - qInfo("The KWin script has been installed"); + qInfo() << "The KWin script has been installed"; } else if (type == "kwin_tabbox" && Utility::Package::installPlasmapkg(temporaryFile.fileName(), "windowswitcher")) { - qInfo("The KWin window switcher has been installed"); + qInfo() << "The KWin window switcher has been installed"; } else if (Utility::Package::uncompressArchive(temporaryFile.fileName(), destination)) { - qInfo("The archive file has been uncompressed into " + destination); + qInfo() << "The archive file has been uncompressed into" << destination; } else if (temporaryFile.copy(path)) { - qInfo("Saved the file as " + path); + qInfo() << "Saved the file as " << path; } else { result["error"] = QString("install_error"); -- GitLab