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

List:       koffice-devel
Subject:    Re: Thesaurus KDataTool
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2001-11-07 19:44:27
[Download RAW message or body]

On Tuesday 06 November 2001 13:44, David Faure wrote:

> Either you should provide an icon for it, or you should update the
> code in KDataTool so that it accepts that no Icon is set.

The code goes like this:

KDataToolAction::KDataToolAction( const QString & text, const KDataToolInfo 
& info, const QString & command, QObject * parent, const char * name )
    : KAction( text, info.iconName(), 0, parent, name ),
      m_command( command ),
      m_info( info )
{}

There's no icon if I remove "info.iconName()", but you cannot write an if() 
there. As you can see I have no clue about C++...

Regards
 Daniel

-- 
http://www.danielnaber.de
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

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

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