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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Fri Jul 2 06:30:57 UTC 2010


Revision: 2927
          http://rkward.svn.sourceforge.net/rkward/?rev=2927&view=rev
Author:   tfry
Date:     2010-07-02 06:30:57 +0000 (Fri, 02 Jul 2010)

Log Message:
-----------
Compilation fix for Qt < 4.5

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/windows/rkwindowcatcher.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2010-07-02 06:27:17 UTC (rev 2926)
+++ trunk/rkward/ChangeLog	2010-07-02 06:30:57 UTC (rev 2927)
@@ -1,5 +1,7 @@
 TODO: Do not use SmartInterface for KDE 4.5 and above
 
+- New options for scripting GUI logic in plugins		TODO: document, merge common functionality of common.js and rkcomponentscriptiong.js, error handling
+- The current object of an active data editor can be referenced in plugins		TODO: document
 - Fixed: Placement of several menu items was broken - again - with KDE 4.4 and above
 - Allow sorting of results in help search window
 - Fixed: CPU usage would go to 100% for no good reason under certain circumstances

Modified: trunk/rkward/rkward/windows/rkwindowcatcher.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2010-07-02 06:27:17 UTC (rev 2926)
+++ trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2010-07-02 06:30:57 UTC (rev 2927)
@@ -64,11 +64,11 @@
 
 void RKWindowCatcher::updateHistory (QStringList params) {
 	RK_TRACE (MISC);
-	RK_ASSERT (params.length () >= 1);
-	RK_ASSERT ((params.length () % 2) == 1)
+	RK_ASSERT (params.count () >= 1);
+	RK_ASSERT ((params.count () % 2) == 1)
 
 	int history_length = params[0].toInt ();
-	for (int i = 1; i < (params.length () - 1); i += 2) {
+	for (int i = 1; i < (params.count () - 1); i += 2) {
 		RKCaughtX11Window* window = RKCaughtX11Window::getWindow (params[i].toInt ());
 		if (window) {
 			int position = params[i+1].toInt ();


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