- Reduce the ammount of unused vars/parameters warnings

svn path=/trunk/KDE/kdebase/runtime/; revision=1049628
This commit is contained in:
Darío Andrés Rodríguez 2009-11-15 15:41:16 +00:00
parent bdfdfae083
commit e4952b3639
2 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ Q_DECLARE_METATYPE(ConstSearchMatchStar)
JavaScriptRunner::JavaScriptRunner(QObject *parent, const QVariantList &args) JavaScriptRunner::JavaScriptRunner(QObject *parent, const QVariantList &args)
: RunnerScript(parent) : RunnerScript(parent)
{ {
Q_UNUSED(args);
m_engine = new QScriptEngine(this); m_engine = new QScriptEngine(this);
importExtensions(); importExtensions();
} }

View File

@ -810,6 +810,7 @@ QScriptValue SimpleJavaScriptApplet::newPlasmaFrameSvg(QScriptContext *context,
QScriptValue SimpleJavaScriptApplet::fileDialogSave(QScriptContext *context, QScriptEngine *engine) QScriptValue SimpleJavaScriptApplet::fileDialogSave(QScriptContext *context, QScriptEngine *engine)
{ {
Q_UNUSED(context);
FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Saving); FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Saving);
return engine->newQObject(fd); return engine->newQObject(fd);
@ -817,6 +818,7 @@ QScriptValue SimpleJavaScriptApplet::fileDialogSave(QScriptContext *context, QSc
QScriptValue SimpleJavaScriptApplet::fileDialogOpen(QScriptContext *context, QScriptEngine *engine) QScriptValue SimpleJavaScriptApplet::fileDialogOpen(QScriptContext *context, QScriptEngine *engine)
{ {
Q_UNUSED(context);
FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Opening); FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Opening);
return engine->newQObject(fd); return engine->newQObject(fd);