diff --git a/src/core/song.cpp b/src/core/song.cpp index f01e7f0cd..9b5cefc90 100644 --- a/src/core/song.cpp +++ b/src/core/song.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include @@ -649,8 +650,9 @@ void song::playSong() m_paused = false; savePos(); - - engine::updatePlayPauseIcons(); + if(QApplication::type() != QApplication::Tty) { + engine::updatePlayPauseIcons(); + } } @@ -834,7 +836,9 @@ void song::stop() m_playMode = Mode_None; - engine::updatePlayPauseIcons(); + if(QApplication::type() != QApplication::Tty) { + engine::updatePlayPauseIcons(); + } }