[PATCH] Restoring the mainwindow size

Olivier Goffart ogoffart at kde.org
Mon Feb 23 07:37:12 GMT 2009


Le dimanche 22 février 2009, Sean Harmer a écrit :
> Hi All,
>
> Whilst tracking down the cause of the annoying bug
>
> https://bugs.kde.org/show_bug.cgi?id=183285
>
> I came across a small annoyance in kmainwindow that causes mainwindows to
> be set to their default width or height when the client application calls
> KMainWindow::restoreWindowSize( const KConfigGroup & config ).
>
> As an example after fixing the above bug locally, I was still occasionally
> getting the main window of Kontact set to a width of 1800. This was only
> happening if kontact was maximised vertically.
>
> The attached patch against kdeui (4.2 branch) fixes this problem. Is this
> OK to apply to the branch and trunk?
>
> Kind regards,
>
> Sean

This patch looks ok to me.

Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090223/43836bd5/attachment.sig>


More information about the kde-core-devel mailing list