plasma/scripting/scriptengine.cpp - -Wunused-parameter
This commit is contained in:
parent
a04f0c3f8f
commit
a07c88cf77
@ -78,6 +78,8 @@ QStringList knownLanguages(Types::ComponentTypes types)
|
|||||||
ScriptEngine *loadEngine(const QString &language, Types::ComponentType type, QObject *parent,
|
ScriptEngine *loadEngine(const QString &language, Types::ComponentType type, QObject *parent,
|
||||||
const QVariantList &args = QVariantList())
|
const QVariantList &args = QVariantList())
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(parent);
|
||||||
|
|
||||||
ScriptEngine *engine = 0;
|
ScriptEngine *engine = 0;
|
||||||
|
|
||||||
auto filter = [&language](const KPluginMetaData &md) -> bool
|
auto filter = [&language](const KPluginMetaData &md) -> bool
|
||||||
|
Loading…
Reference in New Issue
Block a user