QRectF, so it can be used in the bindings

svn path=/trunk/KDE/kdebase/runtime/; revision=1090779
This commit is contained in:
Aaron J. Seigo 2010-02-16 00:10:30 +00:00
parent 361ffdbbb9
commit ce64431653

View File

@ -204,7 +204,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);