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

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/kbabel/commonui
From:       Jens Herden <jens () kdewebdev ! org>
Date:       2005-09-14 13:57:32
Message-ID: 1126706252.102002.5459.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 460609 by jens:

do not show the unknown icons for the validation tools

 M  +1 -1      toolaction.cpp  


--- branches/KDE/3.5/kdesdk/kbabel/commonui/toolaction.cpp #460608:460609
@@ -35,7 +35,7 @@
 
 ToolAction::ToolAction( const QString & text, const KShortcut& cut, const \
KDataToolInfo & info, const QString & command,  QObject * parent, const char * name )
-    : KAction( text, info.iconName(), cut, parent, name ),
+  : KAction( text, info.iconName() == "unknown" ? QString:null : info.iconName(), \
cut, parent, name ),  m_command( command ),
       m_info( info )
 {


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

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