diff --git a/src/utility/package.cpp b/src/utility/package.cpp index 375ac1e6d70bdc15c2b289c65a6900195e2432ac..933acae89e74e40f40052c1ac61c9c6ad59cd551 100644 --- a/src/utility/package.cpp +++ b/src/utility/package.cpp @@ -101,12 +101,12 @@ bool Package::uninstallPlasmapkg(const QString &path, const QString &type) return false; } -bool Package::installAppimage(const QString &path, const QString &targetDir) +bool Package::installAppimage(const QString &path, const QString &targetPath) { QProcess process; QString program = "install"; QStringList arguments; - arguments << "-D" << "-m" << "755" << path << targetDir; + arguments << "-D" << "-m" << "755" << path << targetPath; process.start(program, arguments); diff --git a/src/utility/package.h b/src/utility/package.h index debd48accd190cbfe2f2879bd389888dc249a7e9..14797305b5a1bc9246428dee73f2ff151fffbd1b 100644 --- a/src/utility/package.h +++ b/src/utility/package.h @@ -15,7 +15,7 @@ public: static bool uncompressArchive(const QString &path, const QString &targetDir); static bool installPlasmapkg(const QString &path, const QString &type = "plasmoid"); static bool uninstallPlasmapkg(const QString &path, const QString &type = "plasmoid"); - static bool installAppimage(const QString &path, const QString &targetDir); + static bool installAppimage(const QString &path, const QString &targetPath); }; } // namespace Utility