Actually return the size from the size() function
authorPaul Olav Tvete <paul.tvete@nokia.com>
Thu, 5 Jan 2012 13:24:09 +0000 (14:24 +0100)
committerJørgen Lind <jorgen.lind@nokia.com>
Thu, 5 Jan 2012 14:28:14 +0000 (15:28 +0100)
Change-Id: I885b1c39f934f2b806843cd9b813a75ea9d8954f
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/compositor_api/waylandsurface.cpp

index b7391e9..061c1aa 100644 (file)
@@ -91,7 +91,7 @@ void WaylandSurface::setPos(const QPointF &pos)
 QSize WaylandSurface::size() const
 {
     Q_D(const WaylandSurface);
-    d->surface->size();
+    return d->surface->size();
 }
 
 void WaylandSurface::setSize(const QSize &size)