[rkward-cvs] SF.net SVN: rkward: [2097] branches/KDE4_port/rkward/windows/ detachedwindowcontainer.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Oct 18 20:57:41 UTC 2007


Revision: 2097
          http://rkward.svn.sourceforge.net/rkward/?rev=2097&view=rev
Author:   tfry
Date:     2007-10-18 13:57:41 -0700 (Thu, 18 Oct 2007)

Log Message:
-----------
call show on detached widgets

Modified Paths:
--------------
    branches/KDE4_port/rkward/windows/detachedwindowcontainer.cpp

Modified: branches/KDE4_port/rkward/windows/detachedwindowcontainer.cpp
===================================================================
--- branches/KDE4_port/rkward/windows/detachedwindowcontainer.cpp	2007-10-18 20:52:13 UTC (rev 2096)
+++ branches/KDE4_port/rkward/windows/detachedwindowcontainer.cpp	2007-10-18 20:57:41 UTC (rev 2097)
@@ -52,8 +52,9 @@
 
 // capture widget
 	setGeometry (widget_to_capture->frameGeometry ());
-	widget_to_capture->reparent (this, QPoint (0, 0));
+	widget_to_capture->setParent (this);
 	setCentralWidget (widget_to_capture);
+	widget_to_capture->show ();
 	createGUI (widget_to_capture->getPart ());
 	captured = widget_to_capture;
 
@@ -98,7 +99,7 @@
 	disconnect (captured, SIGNAL (destroyed (QObject *)), this, SLOT (viewDestroyed (QObject *)));
 	disconnect (captured, SIGNAL (captionChanged (RKMDIWindow *)), this, SLOT (updateCaption (RKMDIWindow *)));
 
-	captured->reparent (0, QPoint (0, 0));
+	captured->setParent (0);
 	RKWorkplace::mainWorkplace ()->attachWindow (captured);
 
 	hide ();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list