[Kst] branches/work/kst/pluginify/kst/src/extensions/js

Adam Treat treat at kde.org
Fri Sep 15 23:56:13 CEST 2006


SVN commit 584951 by treat:

* Spotted a couple of Q_UNUSED's


 M  +1 -0      bind_pluginiocollection.cpp  
 M  +1 -0      bind_point.cpp  
 M  +3 -0      js.cpp  


--- branches/work/kst/pluginify/kst/src/extensions/js/bind_pluginiocollection.cpp #584950:584951
@@ -32,6 +32,7 @@
 
 
 KJS::Value KstBindPluginIOCollection::length(KJS::ExecState *exec) const {
+  Q_UNUSED(exec)
   return KJS::Number(_d.count());
 }
 
--- branches/work/kst/pluginify/kst/src/extensions/js/bind_point.cpp #584950:584951
@@ -203,6 +203,7 @@
 
 
 KJS::UString KstBindPoint::toString(KJS::ExecState *exec) const {
+  Q_UNUSED(exec)
   return KJS::UString(QString("(%1, %2)").arg(_x).arg(_y));
 }
 
--- branches/work/kst/pluginify/kst/src/extensions/js/js.cpp #584950:584951
@@ -326,10 +326,13 @@
 
 
 void KstJS::load(QDomElement& e) {
+  Q_UNUSED(e)
 }
 
 
 void KstJS::save(QTextStream& ts, const QString& indent) {
+  Q_UNUSED(ts)
+  Q_UNUSED(indent)
 }
 
 


More information about the Kst mailing list