diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-03-06 10:29:45 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2012-03-07 09:06:52 +0100 |
commit | 28f40671e8ec939ef451746925a9986ea596c616 (patch) | |
tree | bb76b07cf770b3ccfe5931dc9e3aa0b372f3f9d2 /src | |
parent | 394cb2f27df11afe009ba5bb05572bd41fc81228 (diff) |
Added auto-test for wayland plugin.
Similar to the compositor auto-test, except this time we mock the
compositor, and test the client code, by forcing the wayland plugin to
be used.
Change-Id: I363019ff7e136db6822993f1881fec48a02a7db4
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylanddisplay.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp index 223b547fa..01af93661 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp +++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp @@ -138,6 +138,7 @@ QWaylandDisplay::QWaylandDisplay(void) connect(wn, SIGNAL(activated(int)), this, SLOT(flushRequests())); #else QAbstractEventDispatcher *dispatcher = QGuiApplicationPrivate::eventDispatcher; + connect(dispatcher, SIGNAL(awake()), this, SLOT(flushRequests())); // needed for auto-testing connect(dispatcher, SIGNAL(aboutToBlock()), this, SLOT(flushRequests())); #endif |