[rkward-cvs] SF.net SVN: rkward: [2323] trunk/rkward/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Jan 16 20:44:52 UTC 2008


Revision: 2323
          http://rkward.svn.sourceforge.net/rkward/?rev=2323&view=rev
Author:   tfry
Date:     2008-01-16 12:44:52 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
Silence KPart 'widget with NoFocus policy' warnings

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

Modified: trunk/rkward/rkward/robjectbrowser.cpp
===================================================================
--- trunk/rkward/rkward/robjectbrowser.cpp	2008-01-16 17:10:53 UTC (rev 2322)
+++ trunk/rkward/rkward/robjectbrowser.cpp	2008-01-16 20:44:52 UTC (rev 2323)
@@ -59,7 +59,7 @@
 	layout->setContentsMargins (0, 0, 0, 0);
 	layout_widget = new KVBox (this);
 	layout->addWidget (layout_widget);
-	setFocusPolicy (Qt::StrongFocus);
+	layout_widget->setFocusPolicy (Qt::StrongFocus);
 
 	RKDummyPart *part = new RKDummyPart (this, layout_widget);
 	setPart (part);

Modified: trunk/rkward/rkward/windows/rkfilebrowser.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkfilebrowser.cpp	2008-01-16 17:10:53 UTC (rev 2322)
+++ trunk/rkward/rkward/windows/rkfilebrowser.cpp	2008-01-16 20:44:52 UTC (rev 2323)
@@ -49,7 +49,7 @@
 	layout->setContentsMargins (0, 0, 0, 0);
 	layout_widget = new KVBox (this);
 	layout->addWidget (layout_widget);
-	setFocusPolicy (Qt::StrongFocus);
+	layout_widget->setFocusPolicy (Qt::StrongFocus);
 
 	RKDummyPart *part = new RKDummyPart (this, layout_widget);
 	setPart (part);


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