-rw-r--r-- | core/multimedia/opieplayer/audiodevice.cpp | 4 | ||||
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 9 | ||||
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.h | 2 |
3 files changed, 6 insertions, 9 deletions
diff --git a/core/multimedia/opieplayer/audiodevice.cpp b/core/multimedia/opieplayer/audiodevice.cpp index e0989d0..3262e38 100644 --- a/core/multimedia/opieplayer/audiodevice.cpp +++ b/core/multimedia/opieplayer/audiodevice.cpp | |||
@@ -21,2 +21,3 @@ | |||
21 | 21 | ||
22 | |||
22 | #include <stdlib.h> | 23 | #include <stdlib.h> |
@@ -190,2 +191,3 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) { | |||
190 | qDebug("creating new audio device"); | 191 | qDebug("creating new audio device"); |
192 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE; | ||
191 | d = new AudioDevicePrivate; | 193 | d = new AudioDevicePrivate; |
@@ -205,3 +207,2 @@ AudioDevice::AudioDevice( unsigned int f, unsigned int chs, unsigned int bps ) { | |||
205 | 207 | ||
206 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE; | ||
207 | 208 | ||
@@ -266,3 +267,2 @@ AudioDevice::~AudioDevice() { | |||
266 | #endif | 267 | #endif |
267 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; | ||
268 | 268 | ||
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index 930560e..d7447b7 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp | |||
@@ -842,4 +842,3 @@ void PlayListWidget::btnPlay(bool b) { | |||
842 | { | 842 | { |
843 | // if(audioView->selectedItem()) { | 843 | addToSelection( audioView->currentItem() ); |
844 | addToSelection( audioView->selectedItem() ); | ||
845 | mediaPlayerState->setPlaying(b); | 844 | mediaPlayerState->setPlaying(b); |
@@ -850,3 +849,2 @@ void PlayListWidget::btnPlay(bool b) { | |||
850 | // audioView->clearSelection(); | 849 | // audioView->clearSelection(); |
851 | // } | ||
852 | } | 850 | } |
@@ -855,4 +853,3 @@ void PlayListWidget::btnPlay(bool b) { | |||
855 | { | 853 | { |
856 | // if(videoView->selectedItem() ) { | 854 | addToSelection( videoView->currentItem() ); |
857 | addToSelection( videoView->selectedItem() ); | ||
858 | mediaPlayerState->setPlaying(b); | 855 | mediaPlayerState->setPlaying(b); |
@@ -864,3 +861,2 @@ void PlayListWidget::btnPlay(bool b) { | |||
864 | // videoView->clearSelection(); | 861 | // videoView->clearSelection(); |
865 | // } | ||
866 | } | 862 | } |
@@ -890,2 +886,3 @@ void PlayListWidget::viewPressed( int mouse, QListViewItem *item, const QPoint& | |||
890 | case 2:{ | 886 | case 2:{ |
887 | |||
891 | QPopupMenu m; | 888 | QPopupMenu m; |
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 6569f35..5837ed3 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -59,3 +59,3 @@ public: | |||
59 | QPushButton *tbDeletePlaylist; | 59 | QPushButton *tbDeletePlaylist; |
60 | int fd; | 60 | int fd, selected; |
61 | public slots: | 61 | public slots: |