[PATCH] KMDI - lastChildFrmClosed() signal

Matt Rogers mattr at kde.org
Mon Mar 7 00:24:38 GMT 2005


On Sunday 06 March 2005 02:03 pm, Jaroslaw Staniek wrote:
> KMdiChildArea::focusTopChild() is called when QEvent::FocusIn arrived. But
> for "not-childframe modes" this emits lastChildFrmClosed().
>
> void KMdiChildArea::focusTopChild()
> {
> 	KMdiChildFrm* lastChild = topChild(); //NULL for !childframe
> 	if ( !lastChild )
> 	{
> 		emit lastChildFrmClosed();  //<--AH!
>
>
> Added a check for this.
> OK?

looks fine. please remember to backport to the KDE_3_4_BRANCH.

btw, all patches for kmdi can now go to kmdi-devel at kde.org

Matt
-------------- 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/20050306/95136e53/attachment.sig>


More information about the kde-core-devel mailing list