summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 14:19:55 (UTC)
committer simon <simon>2002-12-02 14:19:55 (UTC)
commit8179c80f459eeee815aeb279f73df754ba303198 (patch) (side-by-side diff)
treeb41eecb31e04d1a04b77ec57fc0a396709f3b8e0
parent6a1400bdf754df18a1f20bd50ab5e5e4b0fd5a86 (diff)
downloadopie-8179c80f459eeee815aeb279f73df754ba303198.zip
opie-8179c80f459eeee815aeb279f73df754ba303198.tar.gz
opie-8179c80f459eeee815aeb279f73df754ba303198.tar.bz2
- oops
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 9918eeb..ce9faac 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -1128,43 +1128,43 @@ void PlayListWidget::populateSkinsMenu() {
++it;
}
}
void PlayListWidget::skinsMenuActivated( int item ) {
for(unsigned int i = defaultSkinIndex; i > defaultSkinIndex - skinsMenu->count(); i-- ) {
skinsMenu->setItemChecked( i, FALSE );
}
skinsMenu->setItemChecked( item, TRUE );
Config cfg( "OpiePlayer" );
cfg.setGroup("Options");
cfg.writeEntry("Skin", skinsMenu->text( item ) );
QMessageBox::warning( this, tr( "OpiePlayer" ),
tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) );
}
int PlayListWidget::whichList() {
return tabWidget->currentPageIndex();
}
PlayListWidget::TabType PlayListWidget::currentTab() const
{
static const TabType indexToTabType[ NumTabTypes ] =
- { CurrentPlaylist, AudioFiles, VideoFiles, PlayLists };
+ { CurrentPlayList, AudioFiles, VideoFiles, PlayLists };
int index = tabWidget->currentPageIndex();
assert( index < NumTabTypes && index >= 0 );
return indexToTabType[ index ];
}
QString PlayListWidget::currentFileListPathName() {
switch (whichList()) {
case 1:
return audioView->currentItem()->text(3);
break;
case 2:
return videoView->currentItem()->text(3);
break;
};
return "";
}