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

List:       kde-devel
Subject:    Re: KToolBar bug
From:       Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date:       2000-04-12 17:48:34
[Download RAW message or body]

On Wed, 12 Apr 2000, Joachim Ansorg wrote:
> 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


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

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