- Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/runtime/; revision=1049628
This commit is contained in:
parent
bdfdfae083
commit
e4952b3639
@ -36,6 +36,7 @@ Q_DECLARE_METATYPE(ConstSearchMatchStar)
|
||||
JavaScriptRunner::JavaScriptRunner(QObject *parent, const QVariantList &args)
|
||||
: RunnerScript(parent)
|
||||
{
|
||||
Q_UNUSED(args);
|
||||
m_engine = new QScriptEngine(this);
|
||||
importExtensions();
|
||||
}
|
||||
|
@ -810,6 +810,7 @@ QScriptValue SimpleJavaScriptApplet::newPlasmaFrameSvg(QScriptContext *context,
|
||||
|
||||
QScriptValue SimpleJavaScriptApplet::fileDialogSave(QScriptContext *context, QScriptEngine *engine)
|
||||
{
|
||||
Q_UNUSED(context);
|
||||
FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Saving);
|
||||
|
||||
return engine->newQObject(fd);
|
||||
@ -817,6 +818,7 @@ QScriptValue SimpleJavaScriptApplet::fileDialogSave(QScriptContext *context, QSc
|
||||
|
||||
QScriptValue SimpleJavaScriptApplet::fileDialogOpen(QScriptContext *context, QScriptEngine *engine)
|
||||
{
|
||||
Q_UNUSED(context);
|
||||
FileDialogProxy *fd = new FileDialogProxy(KFileDialog::Opening);
|
||||
|
||||
return engine->newQObject(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user