[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Jason Harris
kstars at 30doradus.org
Sun Nov 25 20:03:36 CET 2007
SVN commit 741492 by harris:
Don't put quotes around string arguments in scriptfunction, because
quotes are added to the QString automatically.
This fixes use of loadColorScheme() (and probably others) in the
scriptbuilder.
CCMAIL: kstars-devel at kde.org
M +1 -7 scriptfunction.cpp
--- trunk/KDE/kdeedu/kstars/kstars/tools/scriptfunction.cpp #741491:741492
@@ -188,13 +188,7 @@
while ( ! ArgName[i].isEmpty() && i < 6 )
{
// Write DBus style prototype compatible with dbus-send format
- if ( ArgDBusType[i]=="string")
- {
- out += " " + ArgDBusType[i] + ":'" + ArgVal[i] + "'";
- } else
- {
- out += " " + ArgDBusType[i] + ":" + ArgVal[i];
- }
+ out += " " + ArgDBusType[i] + ":" + ArgVal[i];
++i;
}
More information about the Kstars-devel
mailing list