diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2012-01-04 08:32:17 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2012-01-04 10:33:28 +0100 |
commit | 6307ca5e22d81da9a39289c2cca9165fea81b3a5 (patch) | |
tree | 1f0a6211d93e9ff8b01fe813b5b625c5845ab9fb /examples/qml-compositor | |
parent | 107be565ab3aa4d7c2c82e4094824e0783ecbcbe (diff) |
Remove the size from the mapped signal
Change-Id: I4b49e115c569cab580665040cc9b173c697b1fcc
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples/qml-compositor')
-rw-r--r-- | examples/qml-compositor/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp index 4a9bf05a2..fc6a4618e 100644 --- a/examples/qml-compositor/main.cpp +++ b/examples/qml-compositor/main.cpp @@ -76,7 +76,7 @@ public slots: } private slots: - void surfaceMapped(const QSize &size) { + void surfaceMapped() { WaylandSurface *surface = qobject_cast<WaylandSurface *>(sender()); surface->setGeometry(QRect(surface->geometry().topLeft(),size)); @@ -107,7 +107,7 @@ private slots: protected: void surfaceCreated(WaylandSurface *surface) { - connect(surface, SIGNAL(mapped(const QSize &)), this, SLOT(surfaceMapped(const QSize &))); + connect(surface, SIGNAL(mapped()), this, SLOT(surfaceMapped())); } private: |