[rkward-cvs] SF.net SVN: rkward:[2939] trunk/rkward/rkward/plugin/rkstandardcomponent. cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Jul 5 11:25:18 UTC 2010


Revision: 2939
          http://rkward.svn.sourceforge.net/rkward/?rev=2939&view=rev
Author:   tfry
Date:     2010-07-05 11:25:18 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
Remove some debug output

Modified Paths:
--------------
    trunk/rkward/rkward/plugin/rkstandardcomponent.cpp

Modified: trunk/rkward/rkward/plugin/rkstandardcomponent.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkstandardcomponent.cpp	2010-07-05 11:23:22 UTC (rev 2938)
+++ trunk/rkward/rkward/plugin/rkstandardcomponent.cpp	2010-07-05 11:25:18 UTC (rev 2939)
@@ -78,12 +78,7 @@
 	RKComponentPropertyBase *current_object_property = new RKComponentPropertyBase (this, false);
 	current_object_property->setInternal (true);
 	RKMDIWindow *w = RKWorkplace::mainWorkplace ()->activeWindow (RKMDIWindow::AnyWindowState);
-	if (w) {
-qDebug ("something's active: %s", qPrintable (w->globalContextProperty ("current_object")));
-		current_object_property->setValue (w->globalContextProperty ("current_object"));
-	} else {
-qDebug ("nothing's active");
-	}
+	if (w) current_object_property->setValue (w->globalContextProperty ("current_object"));
 	addChild ("current_object", current_object_property);
 
 	// open the main description file for parsing


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