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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Alexandre Pereira de Oliveira <alexnewmail-bugs () yahoo ! com ! br>
Date:       2005-05-06 20:44:13
Message-ID: 1115412253.438494.15417.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 410152 by aoliveira:

Don't try to expand non-expandable items.
BUG: 104881


 M  +1 -1      trunk/extragear/multimedia/amarok/src/collectionbrowser.cpp  


--- trunk/extragear/multimedia/amarok/src/collectionbrowser.cpp #410151:410152
@@ -462,7 +462,7 @@
 CollectionView::slotExpand( QListViewItem* item )  //SLOT
 {
     DEBUG_FUNC_INFO
-    if ( !item ) return;
+    if ( !item || !item->isExpandable() ) return;
 
     int category = 0;
     QStringList values;
[prev in list] [next in list] [prev in thread] [next in thread] 

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