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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/containments/panel
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-01-31 22:29:48
Message-ID: 1201818588.998721.28927.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 769236 by sebsauer:

easier to understand that this isn't a typo ;) SVN_SIENT

 M  +1 -1      panel.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containments/panel/panel.cpp #769235:769236
@@ -391,7 +391,7 @@
         l->setColumnStretch(1,1);
 
         bool found = false;
-        for (int i = 0; i < m_sizeCombo->count() - 1; ++i) {
+        for (int i = 0; i <= m_sizeCombo->count() - 2; ++i) {
             if (m_sizeCombo->itemData(i).toInt() == m_size) {
                 m_sizeCombo->setCurrentIndex(i);
                 found = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

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