Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index f0a01a1..8b0f501 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp | |||
@@ -292,25 +292,25 @@ void MediaPlayer::timerEvent( QTimerEvent * ) { | |||
292 | } else { | 292 | } else { |
293 | p.drawRect( (w - 200) / 2 + i * 20 + 3, h - yoff + 50, 3, 10 ); | 293 | p.drawRect( (w - 200) / 2 + i * 20 + 3, h - yoff + 50, 3, 10 ); |
294 | } | 294 | } |
295 | } | 295 | } |
296 | } | 296 | } |
297 | } | 297 | } |
298 | 298 | ||
299 | 299 | ||
300 | void MediaPlayer::blank( bool b ) { | 300 | void MediaPlayer::blank( bool b ) { |
301 | fd=open("/dev/fb0",O_RDWR); | 301 | fd=open("/dev/fb0",O_RDWR); |
302 | #ifdef QT_QWS_EBX | 302 | #ifdef QT_QWS_EBX |
303 | fl= open( "/dev/fl", O_RDWR ); | 303 | fl= open( "/dev/fl", O_RDWR ); |
304 | #endif | 304 | #endif |
305 | if (fd != -1) { | 305 | if (fd != -1) { |
306 | if ( b ) { | 306 | if ( b ) { |
307 | qDebug("do blanking"); | 307 | qDebug("do blanking"); |
308 | #ifdef QT_QWS_EBX | 308 | #ifdef QT_QWS_EBX |
309 | ioctl( fd, FBIOBLANK, 1 ); | 309 | ioctl( fd, FBIOBLANK, 1 ); |
310 | if(fl !=-1) { | 310 | if(fl !=-1) { |
311 | ioctl( fl, 2 ); | 311 | ioctl( fl, 2 ); |
312 | ::close(fl); | 312 | ::close(fl); |
313 | } | 313 | } |
314 | #else | 314 | #else |
315 | ioctl( fd, FBIOBLANK, 3 ); | 315 | ioctl( fd, FBIOBLANK, 3 ); |
316 | #endif | 316 | #endif |