[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/runtime/plasma/scriptengines/javascript
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-02-16 0:08:43
Message-ID: 1266278923.817496.24495.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1090777 by aseigo:

QRectF, so it can be used in the bindings


 M  +1 -1      simplejavascriptapplet.cpp  


--- branches/KDE/4.4/kdebase/runtime/plasma/scriptengines/javascript/simplejavascriptapplet.cpp \
#1090776:1090777 @@ -215,7 +215,7 @@
     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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic