qmlRegisterType QAction, needed for plasmoid actions

This commit is contained in:
Sebastian Kügler 2013-03-18 19:48:16 +01:00
parent f2d22f09a3
commit 682ac73078

View File

@ -63,6 +63,7 @@ AppletInterface::AppletInterface(DeclarativeAppletScript *script, QQuickItem *pa
m_expanded(false) m_expanded(false)
{ {
qmlRegisterType<AppletInterface>(); qmlRegisterType<AppletInterface>();
qmlRegisterType<QAction>();
connect(this, SIGNAL(releaseVisualFocus()), applet(), SIGNAL(releaseVisualFocus())); connect(this, SIGNAL(releaseVisualFocus()), applet(), SIGNAL(releaseVisualFocus()));
connect(this, SIGNAL(configNeedsSaving()), applet(), SIGNAL(configNeedsSaving())); connect(this, SIGNAL(configNeedsSaving()), applet(), SIGNAL(configNeedsSaving()));