QRectF, so it can be used in the bindings
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1090777
This commit is contained in:
parent
8b20a83b3d
commit
0611aae20b
@ -215,7 +215,7 @@ void SimpleJavaScriptApplet::paintInterface(QPainter *p, const QStyleOptionGraph
|
||||
QScriptValueList args;
|
||||
args << m_engine->toScriptValue(p);
|
||||
args << m_engine->toScriptValue(const_cast<QStyleOptionGraphicsItem*>(option));
|
||||
args << m_engine->toScriptValue(contentsRect);
|
||||
args << m_engine->toScriptValue(QRectF(contentsRect));
|
||||
|
||||
QScriptContext *ctx = m_engine->pushContext();
|
||||
ctx->setActivationObject(m_self);
|
||||
|
Loading…
Reference in New Issue
Block a user