Commit affdf1c4 authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix compilation error due to missing symbol export in QtDeclarative

Work around missing export of refreshBindings() by indirectly forcing
the refresh via setContextProperty.
parent 1cca48fb
......@@ -689,7 +689,9 @@ void ObjectNodeInstance::createDynamicProperty(const QString &name, const QStrin
void ObjectNodeInstance::refreshBindings(QDeclarativeContext *context)
{
// TODO: Maybe do this via a timer to prevent update flooding
QDeclarativeContextPrivate::get(context)->data->refreshExpressions();
static int i = 0;
context->setContextProperty(QString("__dummy_%1").arg(i++), true);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment