1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-30 09:12:29 +00:00
This commit is contained in:
2019-03-22 00:11:36 +01:00
parent 7dc320f8ce
commit 2390cc983b
20 changed files with 67 additions and 135 deletions

View File

@ -1,17 +1,20 @@
#include <QDebug>
#include <QFile>
#include <QtCore/QStandardPaths>
#include <QtCore/QDir>
#include "pass.h"
Pass::Pass()
{
Pass::Pass(){
pass_store = QStandardPaths::writableLocation(
QStandardPaths::AppDataLocation).append("/.password-store");
QDir dir(pass_store);
if (!dir.exists())
dir.mkpath(".");
qDebug() << "Password Store is :" << pass_store;
}
void Pass::speak()
{
qDebug() << "Starting app from main.cpp";
}

View File

@ -6,7 +6,7 @@
class Pass : public QObject
{
Q_OBJECT
QString gpgHome;
QString pass_store;
public:
Pass();