[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: new mainWidget() call doesn't work in KDialog
From: David Faure <faure () kde ! org>
Date: 2006-09-04 8:34:55
Message-ID: 200609041034.55833.faure () kde ! org
[Download RAW message or body]
On Monday 04 September 2006 02:25, Aaron J. Seigo wrote:
> On Sunday 03 September 2006 6:35, Carsten Niehaus wrote:
> > are no longer where they should be (at the bottom of the dilaog). They
> > float around...
>
> complete guess, but does this help:
>
> Index: kdialog.cpp
> ===================================================================
> --- kdialog.cpp (revision 580299)
> +++ kdialog.cpp (working copy)
> @@ -319,8 +319,9 @@
>
> QWidget *KDialog::mainWidget()
> {
> - if (!d->mMainWidget)
> - d->mMainWidget = new QWidget(this);
> + if (!d->mMainWidget) {
> + setMainWidget(new QWidget(this));
> + }
DOH! Of course.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic