summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp
index 606f8e9..f0a01a1 100644
--- a/noncore/multimedia/opieplayer2/mediaplayer.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp
@@ -37,2 +37,3 @@ MediaPlayer::MediaPlayer( QObject *parent, const char *name )
37 37
38 fd=-1;fl=-1;
38 playList->setCaption( tr( "OpiePlayer: Initializating" ) ); 39 playList->setCaption( tr( "OpiePlayer: Initializating" ) );
@@ -300,2 +301,5 @@ void MediaPlayer::blank( bool b ) {
300 fd=open("/dev/fb0",O_RDWR); 301 fd=open("/dev/fb0",O_RDWR);
302#ifdef QT_QWS_EBX
303 fl= open( "/dev/fl", O_RDWR );
304#endif
301 if (fd != -1) { 305 if (fd != -1) {
@@ -303,3 +307,11 @@ void MediaPlayer::blank( bool b ) {
303 qDebug("do blanking"); 307 qDebug("do blanking");
308#ifdef QT_QWS_EBX
309 ioctl( fd, FBIOBLANK, 1 );
310 if(fl !=-1) {
311 ioctl( fl, 2 );
312 ::close(fl);
313 }
314#else
304 ioctl( fd, FBIOBLANK, 3 ); 315 ioctl( fd, FBIOBLANK, 3 );
316#endif
305 isBlanked = TRUE; 317 isBlanked = TRUE;
@@ -308,2 +320,8 @@ void MediaPlayer::blank( bool b ) {
308 ioctl( fd, FBIOBLANK, 0); 320 ioctl( fd, FBIOBLANK, 0);
321#ifdef QT_QWS_EBX
322 if(fl != -1) {
323 ioctl( fl, 1);
324 ::close(fl);
325 }
326#endif
309 isBlanked = FALSE; 327 isBlanked = FALSE;