mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Unbreak breakpad on Linux.
This commit is contained in:
@@ -51,6 +51,7 @@ LaunchUploader( const char* dump_dir, const char* minidump_id, void* that, bool
|
|||||||
|
|
||||||
// execl replaces this process, so no more code will be executed
|
// execl replaces this process, so no more code will be executed
|
||||||
// unless it failed. If it failed, then we should return false.
|
// unless it failed. If it failed, then we should return false.
|
||||||
|
printf( "Error: Can't launch CrashReporter!\n" );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,7 +61,11 @@ LaunchUploader( const char* dump_dir, const char* minidump_id, void* that, bool
|
|||||||
|
|
||||||
|
|
||||||
BreakPad::BreakPad( const QString& path )
|
BreakPad::BreakPad( const QString& path )
|
||||||
|
#ifdef Q_OS_LINUX
|
||||||
|
: google_breakpad::ExceptionHandler( path.toStdString(), 0, LaunchUploader, this, true )
|
||||||
|
#else
|
||||||
: google_breakpad::ExceptionHandler( path.toStdString(), 0, LaunchUploader, this, true, 0 )
|
: google_breakpad::ExceptionHandler( path.toStdString(), 0, LaunchUploader, this, true, 0 )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user