mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 19:04:43 +03:00
Show crash reporter if trying to read the crash-reporter-enabled config crashes
This commit is contained in:
parent
89aec52503
commit
6abaad1ae8
1 changed files with 2 additions and 1 deletions
|
@ -59,8 +59,9 @@ int main(int argc, char **argv)
|
|||
|
||||
|
||||
#ifdef WITH_CRASHREPORTER
|
||||
CrashReporter::Handler* handler = new CrashReporter::Handler( QDir::tempPath(), true, "owncloud_crash_reporter" );
|
||||
MirallConfigFile cfgFile;
|
||||
new CrashReporter::Handler( QDir::tempPath(), cfgFile.crashReporter(), "owncloud_crash_reporter" );
|
||||
handler->setActive(cfgFile.crashReporter());
|
||||
#endif
|
||||
|
||||
#ifndef Q_OS_WIN
|
||||
|
|
Loading…
Reference in a new issue