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

List:       kde-commits
Subject:    kdenetwork/kopete/libkopete
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2003-10-27 14:15:03
[Download RAW message or body]

CVS commit by wstephens: 

A sanity check that the overlay icon won't silently mask the base icon.


  M +4 -0      kopeteonlinestatus.cpp   1.30


--- kdenetwork/kopete/libkopete/kopeteonlinestatus.cpp  #1.29:1.30
@@ -273,4 +273,8 @@ QPixmap* KopeteOnlineStatus::renderIcon(
         // create an icon suiting the status from the base icon
         // use reasonable defaults if not provided or protocol not set
+
+        if ( baseIcon == d->overlayIcon )
+                kdWarning( 14010 ) << "Base and overlay icons are the same - icon \
effects will not be visible." << endl; +        
         QPixmap* basis = new QPixmap();
 


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

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