From 1f6323941bcbcddfafd2ce00728156ee205ae71d Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 24 Sep 2011 10:57:21 +0200 Subject: [PATCH] * Enable BreakPad on Windows. --- src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 6f51aeed8..a26de9599 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,10 +46,7 @@ main( int argc, char *argv[] ) #endif TomahawkApp a( argc, argv ); - -#ifndef Q_WS_WIN - new BreakPad( "/tmp" ); -#endif + new BreakPad( QDir::tempPath() ); KDSingleApplicationGuard guard( &a, KDSingleApplicationGuard::AutoKillOtherInstances ); QObject::connect( &guard, SIGNAL( instanceStarted( KDSingleApplicationGuard::Instance ) ), &a, SLOT( instanceStarted( KDSingleApplicationGuard::Instance ) ) );