Logger: runtime log config, no logs till a user selects wallet mode

This commit is contained in:
xiphon
2020-10-08 15:52:34 +00:00
parent d3943ca2a9
commit 3c28ecef93
8 changed files with 74 additions and 25 deletions

View File

@@ -63,6 +63,8 @@ public:
Q_INVOKABLE bool setPortable(bool enabled);
Q_INVOKABLE void setWritable(bool enabled);
static QString portableFolderName();
public slots:
void _q_propertyChanged();
@@ -84,7 +86,6 @@ private:
bool portable() const;
bool portableConfigExists() const;
QString portableFilePath() const;
QString portableFolderName() const;
std::unique_ptr<QSettings> portableSettings() const;
std::unique_ptr<QSettings> unportableSettings() const;
void swap(std::unique_ptr<QSettings> newSettings);