mirror of
https://github.com/QRouland/UTPass.git
synced 2025-07-02 10:12:28 +00:00
Some minors fix
This commit is contained in:
@ -6,9 +6,6 @@
|
||||
#include "libgit.h"
|
||||
|
||||
|
||||
Git::Git()
|
||||
{}
|
||||
|
||||
bool Git::clone(QString url, QString path)
|
||||
{
|
||||
qInfo() << "Cloning " << url << "password_store to " << path;
|
||||
|
@ -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);
|
||||
|
@ -22,7 +22,7 @@ private:
|
||||
void initGpgConfig();
|
||||
|
||||
public:
|
||||
~Gpg();
|
||||
~Gpg() = default;
|
||||
|
||||
static std::shared_ptr<Gpg> instance()
|
||||
{
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user