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

List:       kde-commits
Subject:    branches/KDE/4.3/kdebase/workspace/plasma/applets/quicklaunch
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-07-25 4:37:09
Message-ID: 1248496629.597691.30190.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1002127 by aseigo:

-1 is a valid value for m_visibleIcons; thanks to Shafqat Bhuiyan for catching that
CCMAIL:priomsrb@gmail.com


 M  +1 -1      quicklaunchApplet.cpp  


--- branches/KDE/4.3/kdebase/workspace/plasma/applets/quicklaunch/quicklaunchApplet.cpp \
#1002126:1002127 @@ -98,7 +98,7 @@
 {
     KConfigGroup cg = config();
     m_preferredIconSize = m_iconSize = qMax(s_defaultIconSize, \
                (int)cg.readEntry("iconSize", contentsRect().height() / 2));
-    m_visibleIcons = qMax(0, cg.readEntry("visibleIcons", m_visibleIcons));
+    m_visibleIcons = qMax(-1, cg.readEntry("visibleIcons", m_visibleIcons));
     m_dialogIconSize = qMax(s_defaultIconSize, (int)cg.readEntry("dialogIconSize", \
contentsRect().height() / 2));  
     // Initialize outer layout


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

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