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

List:       kde-commits
Subject:    kdebase/kicker/buttons
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-02-25 13:40:39
Message-ID: 20040225134039.52C4E9959 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Don't crash without icons (BR73504)


  M +2 -0      panelbuttonbase.cpp   1.50


--- kdebase/kicker/buttons/panelbuttonbase.cpp  #1.49:1.50
@@ -115,4 +115,6 @@ bool PanelButtonBase::calculateIconSizes
     // Get sizes from icontheme. We assume they are sorted.
     KIconTheme *ith = KGlobal::iconLoader()->theme();
+    if (!ith)
+       return false;
     QValueList<int> sizes = ith->querySizes(KIcon::Panel);
 


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

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