diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-01 10:14:17 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-01 10:14:17 -0400 |
| commit | 33f5b59bee9fe5a1b3515737819ddfec4f596423 (patch) | |
| tree | d9287fe49ab859d99f0efa712fdbb9c4a01c5b05 /src/organizercore.cpp | |
| parent | aa582ab376a7973034bf1c91e354a3623889489e (diff) | |
added crash dump path to parameters, if a mechanism to customize it is ever created
moved toString() for log level and dump type to usvfs, which needs them for logging
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index df824c2b..5613e8ce 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -485,10 +485,12 @@ void OrganizerCore::prepareVFS() void OrganizerCore::updateVFSParams( log::Levels logLevel, CrashDumpsType crashDumpsType, + const QString& crashDumpsPath, std::chrono::seconds spawnDelay, QString executableBlacklist) { setGlobalCrashDumpsType(crashDumpsType); - m_USVFS.updateParams(logLevel, crashDumpsType, spawnDelay, executableBlacklist); + m_USVFS.updateParams( + logLevel, crashDumpsType, crashDumpsPath, spawnDelay, executableBlacklist); } void OrganizerCore::setLogLevel(log::Levels level) @@ -498,6 +500,7 @@ void OrganizerCore::setLogLevel(log::Levels level) updateVFSParams( m_Settings.diagnostics().logLevel(), m_Settings.diagnostics().crashDumpsType(), + QString::fromStdWString(crashDumpsPath()), m_Settings.diagnostics().spawnDelay(), m_Settings.executablesBlacklist()); |
