summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wlcompositor.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-01-09 13:57:47 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2012-01-09 13:09:52 +0100
commit2c3d4fd8fe88b06872c7cc7b760bb26aefc21719 (patch)
tree18c8cde7e48e315b3fc24ec8fc667ad3de938212 /src/compositor/wayland_wrapper/wlcompositor.cpp
parent8018d98dd3b651b2b3f765612522a13d2e1f7b90 (diff)
Remove unused clientAdded signal in compositor.
This signal is not used by anything anymore and so there is no need to spend time on the contains() call. Change-Id: I003370e66048a54d1c9e2ec384ad740506d113a2 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/wlcompositor.cpp')
-rw-r--r--src/compositor/wayland_wrapper/wlcompositor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compositor/wayland_wrapper/wlcompositor.cpp b/src/compositor/wayland_wrapper/wlcompositor.cpp
index 56ac056e1..145474689 100644
--- a/src/compositor/wayland_wrapper/wlcompositor.cpp
+++ b/src/compositor/wayland_wrapper/wlcompositor.cpp
@@ -193,11 +193,6 @@ void Compositor::createSurface(struct wl_client *client, int id)
QList<struct wl_client *> prevClientList = clients();
m_surfaces << surface;
- //this is not how we want to solve this.
- if (!prevClientList.contains(client)) {
- emit clientAdded(client);
- }
-
m_qt_compositor->surfaceCreated(surface->handle());
}