[vlc-devel] commit: Do not use the lock icon for scrambled stream. (Laurent Aimar )

git version control git at videolan.org
Mon Mar 9 21:32:52 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Mar  9 21:31:21 2009 +0100| [bf7bfa8f24b373d563659e4016a3a424175b39a4] | committer: Laurent Aimar 

Do not use the lock icon for scrambled stream.

Until a valid icon is designed/found, I used a DRM text label.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf7bfa8f24b373d563659e4016a3a424175b39a4
---

 modules/gui/qt4/main_interface.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 292d517..4d2b622 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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 );
     }
 




More information about the vlc-devel mailing list