]> git.sesse.net Git - vlc/commitdiff
Do not use the lock icon for scrambled stream.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 9 Mar 2009 20:31:21 +0000 (21:31 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 9 Mar 2009 20:32:25 +0000 (21:32 +0100)
Until a valid icon is designed/found, I used a DRM text label.

modules/gui/qt4/main_interface.cpp

index 292d517e4da80ad8d8bd00aca0f5c917bc84d45c..4d2b622cf9bcd7d329e4e7d3b8dd173ca5b59bf0 100644 (file)
@@ -360,7 +360,9 @@ void MainInterface::showCryptedLabel( bool b_show )
     if( cryptedLabel == NULL )
     {
         cryptedLabel = new QLabel;
-        cryptedLabel->setPixmap( QPixmap( ":/lock" ) );
+        // The lock icon is not the right one for DRM protection/scrambled.
+        //cryptedLabel->setPixmap( QPixmap( ":/lock" ) );
+        cryptedLabel->setText( "DRM" );
         statusBar()->addWidget( cryptedLabel );
     }