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

List:       kde-commits
Subject:    branches/work/kde4/extragear/multimedia/amarok/src
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2006-06-01 1:41:08
Message-ID: 1149126068.893621.20870.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 547169 by illissius:

don't crash opening the config dialog -- get funky effects instead!
(to be honest, I have no clue how this avoids crashing in the trunk version, either)


 M  +2 -2      configdialog.cpp  


--- branches/work/kde4/extragear/multimedia/amarok/src/configdialog.cpp \
#547168:547169 @@ -174,12 +174,12 @@
 
     // Show information labels (must be done after insertions)
     QObjectList list = queryList( "QLabel", "infoPixmap" );
-    for( int i=0; i<= list.count(); ++i )
+    for( int i=0; i< list.count(); ++i )
         static_cast<QLabel*>(list.at(i))->setPixmap( QMessageBox::standardIcon( \
QMessageBox::Information ) );  
     //stop KFont Requesters getting stupidly large
     list = queryList( "QLabel", "m_sampleLabel" );
-    for( int i=0; i<= list.count(); ++i )
+    for( int i=0; i< list.count(); ++i )
         static_cast<QLabel*>(list.at(i))->setMaximumWidth( 250 );
 
 


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

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