mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 11:31:33 +00:00
Really fix the crash path creation
This commit is contained in:
parent
01dd1b7224
commit
404a968f14
1 changed files with 3 additions and 3 deletions
|
@ -289,9 +289,9 @@ int main(int argc, char *argv[])
|
|||
bppath = QStandardPaths::standardLocations(QStandardPaths::TempLocation).at(0);
|
||||
qInfo() << "Using BreakPad - Crash Directory: " << bppath;
|
||||
/* ensure path exists */
|
||||
QDir dir(bppath);
|
||||
if (!dir.exists()) {
|
||||
dir.mkpath();
|
||||
QDir dir;
|
||||
if (!dir.exists(bppath)) {
|
||||
dir.mkpath(bppath);
|
||||
}
|
||||
google_breakpad::MinidumpDescriptor descriptor(bppath.toStdString());
|
||||
google_breakpad::ExceptionHandler eh(descriptor, NULL, dumpCallback, static_cast<void *>(&daemon), true, -1);
|
||||
|
|
Loading…
Add table
Reference in a new issue