|
|
|
@ -221,7 +221,7 @@ void MediaControl::disableAll()
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet(locate("data",skindir+"play.png")));
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("player_play"));
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("media-playback-start"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MediaControl::slotPlayingStatusChanged(int status)
|
|
|
|
@ -239,13 +239,13 @@ void MediaControl::slotPlayingStatusChanged(int status)
|
|
|
|
|
if(_configFrontend->useCustomTheme())
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet(locate("data",skindir+"play.png")));
|
|
|
|
|
else
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("player_play"));
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("media-playback-start"));
|
|
|
|
|
break;
|
|
|
|
|
case (PlayerInterface::Playing):
|
|
|
|
|
if(_configFrontend->useCustomTheme())
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet(locate("data",skindir+"pause.png")));
|
|
|
|
|
else
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("player_pause"));
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("media-playback-pause"));
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -254,13 +254,13 @@ void MediaControl::slotIconChanged()
|
|
|
|
|
{
|
|
|
|
|
if(!_configFrontend->useCustomTheme())
|
|
|
|
|
{
|
|
|
|
|
prev_button->setIconSet(SmallIconSet("player_start"));
|
|
|
|
|
prev_button->setIconSet(SmallIconSet("media-skip-backward"));
|
|
|
|
|
if (_player->playingStatus() == PlayerInterface::Playing)
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("player_pause"));
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("media-playback-pause"));
|
|
|
|
|
else
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("player_play"));
|
|
|
|
|
stop_button->setIconSet(SmallIconSet("player_stop"));
|
|
|
|
|
next_button->setIconSet(SmallIconSet("player_end"));
|
|
|
|
|
playpause_button->setIconSet(SmallIconSet("media-playback-start"));
|
|
|
|
|
stop_button->setIconSet(SmallIconSet("media-playback-stop"));
|
|
|
|
|
next_button->setIconSet(SmallIconSet("media-skip-forward"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|