KDE/kdelibs/kdeui/actions

Lubos Lunak l.lunak at suse.cz
Sat Mar 22 11:29:08 GMT 2008


On Monday 17 of March 2008, Matt Rogers wrote:
> On Sunday 16 March 2008 16:50:07 Michael Jansen wrote:
> > SVN commit 786377 by mjansen:
> >
> > Mny people complained that global shortcuts silently fail. Issue a
> > warning for developers.
> >
> > Is kWarning ok here?
>
> I think so. The message will get lost in the debug output and never be seen
> otherwise. With kWarning, the user at least gets a message to report to the
> developer with a non-debug build

 I don't think so :

#else  // KDE_NO_WARNING_OUTPUT
static inline QDebug kWarning(int = KDE_DEFAULT_DEBUG_AREA) { return 
kDebugDevNull(); }
static inline QDebug kWarning(bool, int = KDE_DEFAULT_DEBUG_AREA) { return 
kDebugDevNull(); }
#endif

 But I guess this is probably a bug, should this be changed to make kWarning() 
work even in non-debug builds?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz




More information about the kde-core-devel mailing list