fix disappearing contacts #197

This commit is contained in:
DenioD
2020-09-22 12:53:56 +02:00
parent 748a2a4f73
commit 4440911615
2 changed files with 10 additions and 15 deletions

View File

@@ -81,6 +81,11 @@ MainWindow::MainWindow(QWidget *parent) :
ui->setupUi(this);
auto dir = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation));
if (!dir.exists()){
QDir().mkpath(dir.absolutePath());
}else{}
logger = new Logger(this, QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite-wallet.log"));
// Check for encryption