SVN commit 699215 by mueller: fix the so-called "amarok does not work if you compile it with -fstack-protector" crash M +4 -2 threadmanager.cpp --- amarok/src/threadmanager.cpp~ 2007-08-26 12:36:44.000000000 +0200 +++ amarok/src/threadmanager.cpp 2007-08-26 12:40:32.000000000 +0200 @@ -206,13 +206,15 @@ case OverrideCursorEvent: // we have to do this for the PlaylistLoader case, as Qt uses the same // function for drag and drop operations. - QApplication::setOverrideCursor( KCursor::workingCursor() ); + if (qApp->type() != QApplication::Tty) + QApplication::setOverrideCursor( KCursor::workingCursor() ); break; case RestoreOverrideCursorEvent: // we have to do this for the PlaylistLoader case, as Qt uses the same // function for drag and drop operations. - QApplication::restoreOverrideCursor(); + if (qApp->type() != QApplication::Tty) + QApplication::restoreOverrideCursor(); break; default: