plasma/scripting/scriptengine.cpp - -Wunused-parameter

This commit is contained in:
Allen Winter 2016-06-15 13:08:17 -04:00
parent a04f0c3f8f
commit a07c88cf77

View File

@ -78,6 +78,8 @@ QStringList knownLanguages(Types::ComponentTypes types)
ScriptEngine *loadEngine(const QString &language, Types::ComponentType type, QObject *parent,
const QVariantList &args = QVariantList())
{
Q_UNUSED(parent);
ScriptEngine *engine = 0;
auto filter = [&language](const KPluginMetaData &md) -> bool