summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 14:19:55 (UTC)
committer simon <simon>2002-12-02 14:19:55 (UTC)
commit8179c80f459eeee815aeb279f73df754ba303198 (patch) (unidiff)
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
@@ -1136,33 +1136,33 @@ void PlayListWidget::skinsMenuActivated( int item ) {
1136 skinsMenu->setItemChecked( item, TRUE ); 1136 skinsMenu->setItemChecked( item, TRUE );
1137 1137
1138 Config cfg( "OpiePlayer" ); 1138 Config cfg( "OpiePlayer" );
1139 cfg.setGroup("Options"); 1139 cfg.setGroup("Options");
1140 cfg.writeEntry("Skin", skinsMenu->text( item ) ); 1140 cfg.writeEntry("Skin", skinsMenu->text( item ) );
1141 QMessageBox::warning( this, tr( "OpiePlayer" ), 1141 QMessageBox::warning( this, tr( "OpiePlayer" ),
1142 tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) ); 1142 tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) );
1143} 1143}
1144 1144
1145int PlayListWidget::whichList() { 1145int PlayListWidget::whichList() {
1146 return tabWidget->currentPageIndex(); 1146 return tabWidget->currentPageIndex();
1147} 1147}
1148 1148
1149PlayListWidget::TabType PlayListWidget::currentTab() const 1149PlayListWidget::TabType PlayListWidget::currentTab() const
1150{ 1150{
1151 static const TabType indexToTabType[ NumTabTypes ] = 1151 static const TabType indexToTabType[ NumTabTypes ] =
1152 { CurrentPlaylist, AudioFiles, VideoFiles, PlayLists }; 1152 { CurrentPlayList, AudioFiles, VideoFiles, PlayLists };
1153 1153
1154 int index = tabWidget->currentPageIndex(); 1154 int index = tabWidget->currentPageIndex();
1155 assert( index < NumTabTypes && index >= 0 ); 1155 assert( index < NumTabTypes && index >= 0 );
1156 1156
1157 return indexToTabType[ index ]; 1157 return indexToTabType[ index ];
1158} 1158}
1159 1159
1160QString PlayListWidget::currentFileListPathName() { 1160QString PlayListWidget::currentFileListPathName() {
1161 switch (whichList()) { 1161 switch (whichList()) {
1162 case 1: 1162 case 1:
1163 return audioView->currentItem()->text(3); 1163 return audioView->currentItem()->text(3);
1164 break; 1164 break;
1165 case 2: 1165 case 2:
1166 return videoView->currentItem()->text(3); 1166 return videoView->currentItem()->text(3);
1167 break; 1167 break;
1168 }; 1168 };