avoid infinite loop when connecting to a dataengine, but not reimplementing dataUpdated in the js
svn path=/trunk/KDE/kdebase/runtime/; revision=1171421
This commit is contained in:
parent
c9b045fa86
commit
871d541d9f
@ -300,11 +300,6 @@ void AppletInterface::setPreferredSize(qreal w, qreal h)
|
||||
applet()->setPreferredSize(w,h);
|
||||
}
|
||||
|
||||
void AppletInterface::dataUpdated(QString source, Plasma::DataEngine::Data data)
|
||||
{
|
||||
m_appletScriptEngine->dataUpdated(source, data);
|
||||
}
|
||||
|
||||
QGraphicsLayout *AppletInterface::layout() const
|
||||
{
|
||||
return applet()->layout();
|
||||
|
@ -296,9 +296,6 @@ Q_SIGNALS:
|
||||
void releaseVisualFocus();
|
||||
void configNeedsSaving();
|
||||
|
||||
public Q_SLOTS:
|
||||
void dataUpdated(QString source, Plasma::DataEngine::Data data);
|
||||
|
||||
protected:
|
||||
SimpleJavaScriptApplet *m_appletScriptEngine;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user