[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2006-05-01 0:32:07
Message-ID: 1146443527.137131.22279.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 536024 by illissius:

collection browser too

 M  +5 -4      collectionbrowser.cpp  


--- trunk/extragear/multimedia/amarok/src/collectionbrowser.cpp #536023:536024
@@ -2649,12 +2649,13 @@
         {
             popup.insertItem( captionForTag( static_cast<Tag>( i ) ), i );
             popup.setItemChecked( i, ( columnWidth(i) != 0 ) );
-
-            //title column should always be shown
-            if ( i == Title )
-                popup.setItemEnabled ( i, false );
         }
 
+        //title column should always be shown
+        popup.setItemEnabled( Title, false );
+        popup.setItemVisible( Score, AmarokConfig::useScores() );
+        popup.setItemVisible( Rating, AmarokConfig::useRatings() );
+
         const int returnID = popup.exec( static_cast<QMouseEvent *>(e)->globalPos() );
 
         if ( returnID != -1 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic