summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/playlistwidget.cpp
authorsimon <simon>2002-12-02 14:38:47 (UTC)
committer simon <simon>2002-12-02 14:38:47 (UTC)
commit46d64cdfe9a3d949e91ea6a72828405d03337225 (patch) (unidiff)
tree992e6fd74384ed4b7126b73b3313d599b5035949 /noncore/multimedia/opieplayer2/playlistwidget.cpp
parent77d55b631fa3cf26bfdf809c17ee3252d3c80ac0 (diff)
downloadopie-46d64cdfe9a3d949e91ea6a72828405d03337225.zip
opie-46d64cdfe9a3d949e91ea6a72828405d03337225.tar.gz
opie-46d64cdfe9a3d949e91ea6a72828405d03337225.tar.bz2
- two const fixlets
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index ce9faac..11a7b5c 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -1142,7 +1142,7 @@ void PlayListWidget::skinsMenuActivated( int item ) {
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() const {
1146 return tabWidget->currentPageIndex(); 1146 return tabWidget->currentPageIndex();
1147} 1147}
1148 1148
@@ -1157,7 +1157,7 @@ PlayListWidget::TabType PlayListWidget::currentTab() const
1157 return indexToTabType[ index ]; 1157 return indexToTabType[ index ];
1158} 1158}
1159 1159
1160QString PlayListWidget::currentFileListPathName() { 1160QString PlayListWidget::currentFileListPathName() const {
1161 switch (whichList()) { 1161 switch (whichList()) {
1162 case 1: 1162 case 1:
1163 return audioView->currentItem()->text(3); 1163 return audioView->currentItem()->text(3);