Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index efea385..b393230 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -1371,10 +1371,14 @@ void PlayListWidget::keyPressEvent( QKeyEvent *) // } } void PlayListWidget::doBlank() { - // qDebug("do blanking"); + // TODO: why do we blank this way, why don't we use ODevice or ScreenSaver? +#ifdef QT_QWS_DEVFS + fd=open("/dev/fb/0",O_RDWR); +#else fd=open("/dev/fb0",O_RDWR); +#endif if (fd != -1) { ioctl(fd,FBIOBLANK,1); // close(fd); } |