Commit 4ecd97c8 authored by Scott Wheeler's avatar Scott Wheeler

Fixed restoring from a pause (broken by last commit) added empty functions

to be used with "enqueue and play" from the tagger and removed some images
that Gimp snuck in at the initial import.

svn path=/trunk/kdemultimedia/juk/; revision=143804
parent c84e0d17
......@@ -206,7 +206,15 @@ void JuK::removeFromPlaylist()
void JuK::playFile()
{
if(playlist) {
if(player.paused()) {
player.play();
if(player.playing()) {
playAction->setEnabled(false);
pauseAction->setEnabled(true);
stopAction->setEnabled(true);
}
}
else if(playlist) {
if(playlist->getSelectedItems()->count() > 0)
playItem(dynamic_cast<FileListItem *>(playlist->getSelectedItems()->at(0)));
else
......@@ -322,3 +330,13 @@ void JuK::playItem(FileListItem *item)
}
}
}
void JuK::playTaggerItem(QListViewItem *item)
{
}
void JuK::playTaggerItem(FileListItem *item)
{
}
......@@ -93,6 +93,8 @@ private slots:
void setVolume(int volume);
void playItem(QListViewItem *item);
void playItem(FileListItem *item);
void playTaggerItem(QListViewItem *item);
void playTaggerItem(FileListItem *item);
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment