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