[rkward-cvs] SF.net SVN: rkward: [2303] trunk/rkward/rkward/robjectbrowser.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Jan 7 14:25:08 UTC 2008


Revision: 2303
          http://rkward.svn.sourceforge.net/rkward/?rev=2303&view=rev
Author:   tfry
Date:     2008-01-07 06:25:08 -0800 (Mon, 07 Jan 2008)

Log Message:
-----------
Make workspace browser release focus, properly

Modified Paths:
--------------
    trunk/rkward/rkward/robjectbrowser.cpp

Modified: trunk/rkward/rkward/robjectbrowser.cpp
===================================================================
--- trunk/rkward/rkward/robjectbrowser.cpp	2008-01-07 14:18:08 UTC (rev 2302)
+++ trunk/rkward/rkward/robjectbrowser.cpp	2008-01-07 14:25:08 UTC (rev 2303)
@@ -59,7 +59,7 @@
 	layout->setContentsMargins (0, 0, 0, 0);
 	layout_widget = new KVBox (this);
 	layout->addWidget (layout_widget);
-	layout_widget->setFocusPolicy (Qt::StrongFocus);
+	setFocusPolicy (Qt::StrongFocus);
 
 	RKDummyPart *part = new RKDummyPart (this, layout_widget);
 	setPart (part);
@@ -97,7 +97,7 @@
 	RK_DO (qDebug ("creating workspace browser"), APP, DL_INFO);
 
 	internal = new RObjectBrowserInternal (layout_widget);
-	layout_widget->setFocusProxy (internal);
+	setFocusProxy (internal);
 	setMinimumSize (internal->minimumSize ());
 }
 


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