author | llornkcor <llornkcor> | 2002-08-13 23:57:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-13 23:57:49 (UTC) |
commit | 05a272a0dc03c37f143546aa5cde228bd3ba79bb (patch) (unidiff) | |
tree | 2e994a06ebd2b66287905dce828c5f3e57a0147a /noncore | |
parent | 6baf582094b418ec1defa2415210a7d7583628ff (diff) | |
download | opie-05a272a0dc03c37f143546aa5cde228bd3ba79bb.zip opie-05a272a0dc03c37f143546aa5cde228bd3ba79bb.tar.gz opie-05a272a0dc03c37f143546aa5cde228bd3ba79bb.tar.bz2 |
remove unused variables
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 27db464..2521906 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -628,9 +628,9 @@ void PlayListWidget::addSelected() { | |||
628 | 628 | ||
629 | Config cfg( "OpiePlayer" ); | 629 | Config cfg( "OpiePlayer" ); |
630 | cfg.setGroup("PlayList"); | 630 | cfg.setGroup("PlayList"); |
631 | QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); | 631 | QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); |
632 | int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); | 632 | // int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); |
633 | 633 | ||
634 | switch (tabWidget->currentPageIndex()) { | 634 | switch (tabWidget->currentPageIndex()) { |
635 | case 0: //playlist | 635 | case 0: //playlist |
636 | break; | 636 | break; |
@@ -675,8 +675,9 @@ void PlayListWidget::removeSelected() { | |||
675 | d->selectedFiles->removeSelected( ); | 675 | d->selectedFiles->removeSelected( ); |
676 | } | 676 | } |
677 | 677 | ||
678 | void PlayListWidget::playIt( QListViewItem *it) { | 678 | void PlayListWidget::playIt( QListViewItem *it) { |
679 | if(it==NULL) return; | ||
679 | qDebug("playIt"); | 680 | qDebug("playIt"); |
680 | mediaPlayerState->setPlaying(FALSE); | 681 | mediaPlayerState->setPlaying(FALSE); |
681 | mediaPlayerState->setPlaying(TRUE); | 682 | mediaPlayerState->setPlaying(TRUE); |
682 | d->selectedFiles->unSelect(); | 683 | d->selectedFiles->unSelect(); |
@@ -711,9 +712,9 @@ void PlayListWidget::addToSelection( QListViewItem *it) { | |||
711 | tabWidget->setCurrentPage(0); | 712 | tabWidget->setCurrentPage(0); |
712 | } | 713 | } |
713 | } | 714 | } |
714 | 715 | ||
715 | void PlayListWidget::tabChanged(QWidget *widg) { | 716 | void PlayListWidget::tabChanged(QWidget *) { |
716 | 717 | ||
717 | switch ( tabWidget->currentPageIndex()) { | 718 | switch ( tabWidget->currentPageIndex()) { |
718 | case 0: | 719 | case 0: |
719 | { | 720 | { |
@@ -801,9 +802,9 @@ void PlayListWidget::deletePlaylist() { | |||
801 | break; | 802 | break; |
802 | }; | 803 | }; |
803 | } | 804 | } |
804 | 805 | ||
805 | void PlayListWidget::viewPressed( int mouse, QListViewItem *item, const QPoint& point, int i) { | 806 | void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) { |
806 | switch (mouse) { | 807 | switch (mouse) { |
807 | case 1: | 808 | case 1: |
808 | break; | 809 | break; |
809 | case 2:{ | 810 | case 2:{ |
@@ -821,9 +822,9 @@ void PlayListWidget::viewPressed( int mouse, QListViewItem *item, const QPoint& | |||
821 | void PlayListWidget::playSelected() { | 822 | void PlayListWidget::playSelected() { |
822 | btnPlay( TRUE); | 823 | btnPlay( TRUE); |
823 | } | 824 | } |
824 | 825 | ||
825 | void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *item, const QPoint& point, int i) { | 826 | void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *, const QPoint& , int ) { |
826 | switch (mouse) { | 827 | switch (mouse) { |
827 | case 1: | 828 | case 1: |
828 | 829 | ||
829 | break; | 830 | break; |
@@ -842,9 +843,9 @@ void PlayListWidget::listDelete() { | |||
842 | Config cfg( "OpiePlayer" ); | 843 | Config cfg( "OpiePlayer" ); |
843 | cfg.setGroup("PlayList"); | 844 | cfg.setGroup("PlayList"); |
844 | QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); | 845 | QString currentPlaylist = cfg.readEntry("CurrentPlaylist",""); |
845 | QString file; | 846 | QString file; |
846 | int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); | 847 | // int noOfFiles = cfg.readNumEntry("NumberOfFiles", 0 ); |
847 | switch ( tabWidget->currentPageIndex()) { | 848 | switch ( tabWidget->currentPageIndex()) { |
848 | case 0: | 849 | case 0: |
849 | break; | 850 | break; |
850 | case 1: | 851 | case 1: |
@@ -1039,9 +1040,9 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e) | |||
1039 | 1040 | ||
1040 | } | 1041 | } |
1041 | } | 1042 | } |
1042 | 1043 | ||
1043 | void PlayListWidget::keyPressEvent( QKeyEvent *e) | 1044 | void PlayListWidget::keyPressEvent( QKeyEvent *) |
1044 | { | 1045 | { |
1045 | // qDebug("Key press"); | 1046 | // qDebug("Key press"); |
1046 | // switch ( e->key() ) { | 1047 | // switch ( e->key() ) { |
1047 | // ////////////////////////////// Zaurus keys | 1048 | // ////////////////////////////// Zaurus keys |