mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 19:41:24 +00:00
fix build failure
This commit is contained in:
parent
adb57e8dc8
commit
01dd1b7224
1 changed files with 3 additions and 2 deletions
|
@ -289,8 +289,9 @@ int main(int argc, char *argv[])
|
|||
bppath = QStandardPaths::standardLocations(QStandardPaths::TempLocation).at(0);
|
||||
qInfo() << "Using BreakPad - Crash Directory: " << bppath;
|
||||
/* ensure path exists */
|
||||
if (!QDir::exists(bppath)) {
|
||||
QDir::mkpath(bppath);
|
||||
QDir dir(bppath);
|
||||
if (!dir.exists()) {
|
||||
dir.mkpath();
|
||||
}
|
||||
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