mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 15:46:40 +00:00
Some minors fix
This commit is contained in:
parent
5e5a092da1
commit
80a5055b78
@ -6,9 +6,6 @@
|
|||||||
#include "libgit.h"
|
#include "libgit.h"
|
||||||
|
|
||||||
|
|
||||||
Git::Git()
|
|
||||||
{}
|
|
||||||
|
|
||||||
bool Git::clone(QString url, QString path)
|
bool Git::clone(QString url, QString path)
|
||||||
{
|
{
|
||||||
qInfo() << "Cloning " << url << "password_store to " << path;
|
qInfo() << "Cloning " << url << "password_store to " << path;
|
||||||
|
@ -10,7 +10,7 @@ class Git : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Git();
|
Git() = default;
|
||||||
~Git() override = default;
|
~Git() override = default;
|
||||||
|
|
||||||
Q_INVOKABLE bool clone(QString url, QString path);
|
Q_INVOKABLE bool clone(QString url, QString path);
|
||||||
|
@ -22,7 +22,7 @@ private:
|
|||||||
void initGpgConfig();
|
void initGpgConfig();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
~Gpg();
|
~Gpg() = default;
|
||||||
|
|
||||||
static std::shared_ptr<Gpg> instance()
|
static std::shared_ptr<Gpg> instance()
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@ Utils::Utils() {};
|
|||||||
bool Utils::unzip(QUrl zip_url, QString dir_out_path)
|
bool Utils::unzip(QUrl zip_url, QString dir_out_path)
|
||||||
{
|
{
|
||||||
auto tmp_dir_path = QStandardPaths::writableLocation(
|
auto tmp_dir_path = QStandardPaths::writableLocation(
|
||||||
QStandardPaths::CacheLocation).append("/unzip");
|
QStandardPaths::TempLocation).append("/unzip");
|
||||||
|
|
||||||
QDir tmp_dir(tmp_dir_path);
|
QDir tmp_dir(tmp_dir_path);
|
||||||
tmp_dir.removeRecursively();
|
tmp_dir.removeRecursively();
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: utpass.qrouland\n"
|
"Project-Id-Version: utpass.qrouland\n"
|
||||||
"Report-Msgid-Bugs-To: \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"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user