diff --git a/client.h b/client.h index 69ec74f9bf..c5a19fefc2 100644 --- a/client.h +++ b/client.h @@ -101,7 +101,6 @@ class Client * Because of that there is no notify signal. **/ Q_PROPERTY(bool fullScreenable READ isFullScreenable) - // TODO: notify signal /** * The geometry of this Client. Be aware that depending on resize mode the geometryChanged signal * might be emitted at each resize step or only at the end of the resize operation. diff --git a/scripting/meta.cpp b/scripting/meta.cpp index 86dbb35fcc..45393b8124 100644 --- a/scripting/meta.cpp +++ b/scripting/meta.cpp @@ -100,8 +100,8 @@ QScriptValue Rect::toScriptValue(QScriptEngine* eng, const QRect& rect) void Rect::fromScriptValue(const QScriptValue& obj, QRect &rect) { - QScriptValue w = obj.property("w", QScriptValue::ResolveLocal); - QScriptValue h = obj.property("h", QScriptValue::ResolveLocal); + QScriptValue w = obj.property("width", QScriptValue::ResolveLocal); + QScriptValue h = obj.property("height", QScriptValue::ResolveLocal); QScriptValue x = obj.property("x", QScriptValue::ResolveLocal); QScriptValue y = obj.property("y", QScriptValue::ResolveLocal);