KMessageBox::error() seems to hang on empty message text

Alex Merry huntedhacker at tiscali.co.uk
Sat Apr 21 22:54:49 BST 2007


On Saturday 21 Apr 2007, Ingo Klöcker wrote:
> On Saturday 21 April 2007 18:17, Alex Merry wrote:
> > On Saturday 21 Apr 2007, Alex Merry wrote:
> > > On Saturday 21 Apr 2007, Ingo Klöcker wrote:
> > > > KMessageBox::error( qApp->activeWindow(), "", i18n("Error") );
> > >
> > > The problem is a loop in the message box creation that tries to
> > > adjust the width if it is too high and narrow.  However, without
> > > text, it can't adjust it sufficiently, and the loop never exits.
> > >
> > > Does this patch fix it for you?
>
> Yes. This change fixes the problem.

Committed (in r656630).

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070421/a2cbba6d/attachment.sig>


More information about the kde-core-devel mailing list