diff options
Diffstat (limited to 'lib/configuration')
-rw-r--r-- | lib/configuration/configuration.cpp | 3 | ||||
-rw-r--r-- | lib/configuration/defaults.h.in | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp index 0898c09..48acecf 100644 --- a/lib/configuration/configuration.cpp +++ b/lib/configuration/configuration.cpp @@ -55,6 +55,9 @@ Configuration::Configuration(QObject *parent) ("browser.locale", po::value<std::string>(), "Set Qt localization.") ("browser.translation", po::value<std::string>(), "Set application localization.") + ("browser.crash.path", po::value<std::string>()->default_value(CrashdumpPath)) + ("browser.crash.handler", po::value<std::string>()) + // main window ui ("mainwindow.height", po::value<int>()->default_value(720)) ("mainwindow.width", po::value<int>()->default_value(1280)) diff --git a/lib/configuration/defaults.h.in b/lib/configuration/defaults.h.in index 8c4b334..f239b14 100644 --- a/lib/configuration/defaults.h.in +++ b/lib/configuration/defaults.h.in @@ -2,6 +2,7 @@ #define SMOLBOTE_DEFAULTS #cmakedefine ConfigPath "@ConfigPath@" +#cmakedefine CrashdumpPath "@CrashdumpPath@" #cmakedefine FilterPath "@FilterPath@" #cmakedefine PluginsPath "@PluginsPath@" |