fix build

This commit is contained in:
Marco Martin 2012-09-13 13:33:55 +02:00
parent 925e330807
commit 5ec3f33717

View File

@ -389,7 +389,7 @@ void DeclarativeAppletScript::executeAction(const QString &name)
} }
if (m_declarativeWidget->rootObject()) { if (m_declarativeWidget->rootObject()) {
m_declarativeWidget->rootObject()->metaObject()->invokeMethod("action_" + name); QMetaObject::invokeMethod(m_declarativeWidget->rootObject(), QString("action_" + name).toLatin1(), Qt::DirectConnection);
} }
} }