diff --git a/plugins/Git/git.cpp b/plugins/Git/git.cpp index 66fdcc0..2f5ae5e 100644 --- a/plugins/Git/git.cpp +++ b/plugins/Git/git.cpp @@ -6,9 +6,6 @@ #include "libgit.h" -Git::Git() -{} - bool Git::clone(QString url, QString path) { qInfo() << "Cloning " << url << "password_store to " << path; diff --git a/plugins/Git/git.h b/plugins/Git/git.h index 1927a11..e6ba7bb 100644 --- a/plugins/Git/git.h +++ b/plugins/Git/git.h @@ -10,7 +10,7 @@ class Git : public QObject Q_OBJECT public: - Git(); + Git() = default; ~Git() override = default; Q_INVOKABLE bool clone(QString url, QString path); diff --git a/plugins/Pass/gpg.h b/plugins/Pass/gpg.h index a307ed1..9c5e381 100644 --- a/plugins/Pass/gpg.h +++ b/plugins/Pass/gpg.h @@ -22,7 +22,7 @@ private: void initGpgConfig(); public: - ~Gpg(); + ~Gpg() = default; static std::shared_ptr instance() { diff --git a/plugins/Utils/utils.cpp b/plugins/Utils/utils.cpp index e830118..f11c767 100644 --- a/plugins/Utils/utils.cpp +++ b/plugins/Utils/utils.cpp @@ -12,7 +12,7 @@ Utils::Utils() {}; bool Utils::unzip(QUrl zip_url, QString dir_out_path) { auto tmp_dir_path = QStandardPaths::writableLocation( - QStandardPaths::CacheLocation).append("/unzip"); + QStandardPaths::TempLocation).append("/unzip"); QDir tmp_dir(tmp_dir_path); tmp_dir.removeRecursively(); diff --git a/po/utpass.qrouland.pot b/po/utpass.qrouland.pot index 0209db2..eba613f 100644 --- a/po/utpass.qrouland.pot +++ b/po/utpass.qrouland.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: utpass.qrouland\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-01-10 13:46+0100\n" +"POT-Creation-Date: 2025-01-10 13:55+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"