[rkward-cvs] SF.net SVN: rkward: [2339] trunk/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Tue Jan 22 18:04:10 UTC 2008
Revision: 2339
http://rkward.svn.sourceforge.net/rkward/?rev=2339&view=rev
Author: tfry
Date: 2008-01-22 10:04:09 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
Fix bad filtering in varslots
Modified Paths:
--------------
trunk/rkward/ChangeLog
trunk/rkward/rkward/plugin/rkvarslot.cpp
Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog 2008-01-22 16:23:47 UTC (rev 2338)
+++ trunk/rkward/ChangeLog 2008-01-22 18:04:09 UTC (rev 2339)
@@ -1,3 +1,6 @@
+- Fixed: no objects were selectable in most varslots
+- Compilation: check for minimum kdelibs version 4.0rc2
+
--- Version 0.5.0 - Jan-21-2008
- add support for a focus-follows-mouse activation behavior of the MDI windows (Settings->General)
- ability to mark arbitrary "blocks" in script editor and run them with a shortcut
Modified: trunk/rkward/rkward/plugin/rkvarslot.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkvarslot.cpp 2008-01-22 16:23:47 UTC (rev 2338)
+++ trunk/rkward/rkward/plugin/rkvarslot.cpp 2008-01-22 18:04:09 UTC (rev 2339)
@@ -84,9 +84,9 @@
}
// initialize filters
- available->setClassFilter (xml->getStringAttribute (element, "classes", QString (), DL_INFO).split (" "));
+ available->setClassFilter (xml->getStringAttribute (element, "classes", QString (), DL_INFO).split (" ", QString::SkipEmptyParts));
setRequired (xml->getBoolAttribute (element, "required", false, DL_INFO));
- available->setTypeFilter (xml->getStringAttribute (element, "types", QString::null, DL_INFO).split (" "));
+ available->setTypeFilter (xml->getStringAttribute (element, "types", QString::null, DL_INFO).split (" ", QString::SkipEmptyParts));
available->setDimensionFilter (xml->getIntAttribute (element, "num_dimensions", 0, DL_INFO), xml->getIntAttribute (element, "min_length", 0, DL_INFO), xml->getIntAttribute (element, "max_length", INT_MAX, DL_INFO));
connect (available, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (availablePropertyChanged (RKComponentPropertyBase *)));
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