From 577a706b9ff6b79346d51aa948e5bf9e136104ee Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 12 Sep 2011 02:54:59 +0200 Subject: [PATCH] * Remove breakpad related stuff again. --- src/CMakeLists.linux.txt | 2 +- src/main.cpp | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/CMakeLists.linux.txt b/src/CMakeLists.linux.txt index 898230449..a448ed637 100644 --- a/src/CMakeLists.linux.txt +++ b/src/CMakeLists.linux.txt @@ -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" ) diff --git a/src/main.cpp b/src/main.cpp index 8ab9009f8..2919968e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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.