1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

* Remove breakpad related stuff again.

This commit is contained in:
Christian Muehlhaeuser 2011-09-12 02:54:59 +02:00
parent e7d78ea52e
commit 577a706b9f
2 changed files with 1 additions and 23 deletions

View File

@ -1,7 +1,7 @@
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
tomahawklib
breakpad_client
# breakpad_client
)
FILE( GLOB _icons "${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon-*.png" )

View File

@ -28,32 +28,10 @@
static pascal OSErr appleEventHandler( const AppleEvent*, AppleEvent*, long );
#endif
#ifdef Q_OS_LINUX
#include "client/linux/handler/exception_handler.h"
static bool
dumpCallback( const char* dump_path, const char* minidump_id, void* /* context */, bool succeeded )
{
printf( "Tomahawk crashed - Dump path: %s/%s.dmp\n", dump_path, minidump_id );
return succeeded;
}
void
crash()
{
volatile int* a = (int*)(NULL);
*a = 1;
}
#endif
int
main( int argc, char *argv[] )
{
#ifdef Q_OS_LINUX
google_breakpad::ExceptionHandler eh( "/tmp", NULL, dumpCallback, NULL, true );
#endif
#ifdef Q_WS_MAC
// Do Mac specific startup to get media keys working.
// This must go before QApplication initialisation.