diff options
-rw-r--r-- | qtspotifymain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtspotifymain.cpp b/qtspotifymain.cpp index 1e563ec..21c6231 100644 --- a/qtspotifymain.cpp +++ b/qtspotifymain.cpp @@ -299,9 +299,9 @@ void QtSpotifyMain::initPlayBackHandlingState(QState *playBackHandlingState) playingState->setObjectName("playingState"); playingState->assignProperty(m_ui.actionPlayOrStop, "enabled", true); connect(playingState, SIGNAL(entered()), this, SLOT(play())); - stoppedState->assignProperty(m_ui.actionPauseOrResume, "enabled", true); - stoppedState->assignProperty(m_ui.playButton, "enabled", true); - stoppedState->assignProperty(m_ui.skipSongButton, "enabled", true); + playingState->assignProperty(m_ui.actionPauseOrResume, "enabled", true); + playingState->assignProperty(m_ui.playButton, "enabled", true); + playingState->assignProperty(m_ui.skipSongButton, "enabled", true); initPlayingState(playingState); } |