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

List:       kde-devel
Subject:    Re: KToolBar bug
From:       mosfet <mosfet () mandrakesoft ! com>
Date:       2000-04-12 20:00:49
[Download RAW message or body]

Joachim Ansorg wrote:
> 
> Hi!
> 
> No!
> My app does _only_ crash with the line inserted.
> If I comment out the line it runs fine!
> 
> Perhaps a kstyle problem painting a lineedit widget (bug does only occur in \
> toolbars)?

No, happens in QPlatinumStyle as well.

> 
> Thanks!
> --Joachim
> 
> > > Hi!
> > > Thanks for the answer.
> > > 
> > > Here's a small example (doing this in a KTMainWindow):
> > > 
> > > toolBar()->insertLined("Test", ID_PRESENTER_LINED, SIGNAL(returnPressed(const \
> > > QString&)), this, SLOT(lineEditChanged(const QString&)), true, i18n("Edit line \
> > > for the current key"), 150); 
> > > The error message looks like this
> > > 
> > > 
> > > QPainter::begin: Cannot paint null pixmap
> > > QPainter::setPen: Will be reset by begin()
> > This doesn´t look as insertLined(...) problem. Looks more like pixmap
> > problem ...  (iconLoader returned null pixmap for some button).
> > Application still crashes if you comment out this line, right?
> > 
> > --
> > Sven Radej      radej@kde.org
> > KDE developer   Visit http://www.kde.org
> --
> BibleTime - the bible study program for KDE
> http://www.bibletime.de/
> info@bibletime.de

-- 
Daniel M. Duley - Unix developer & sys admin.
http://www.mosfet.org - The place for KDE development news.
mosfet@mandrakesoft.com
mosfet@kde.org


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

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