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 ) ) );