[PATCH] KMDI - lastChildFrmClosed() signal

Jaroslaw Staniek js at iidea.pl
Sun Mar 6 20:03:16 GMT 2005

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.

regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  http://www.openoffice.com.pl  |  http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kmdi.patch
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050306/2deedcb2/attachment.ksh>

More information about the kde-core-devel mailing list