summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/nooutput/tst_nooutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/client/nooutput/tst_nooutput.cpp')
-rw-r--r--tests/auto/client/nooutput/tst_nooutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/nooutput/tst_nooutput.cpp b/tests/auto/client/nooutput/tst_nooutput.cpp
index 35b4e0e95..819030455 100644
--- a/tests/auto/client/nooutput/tst_nooutput.cpp
+++ b/tests/auto/client/nooutput/tst_nooutput.cpp
@@ -41,7 +41,7 @@ void tst_nooutput::noScreens()
// The window should not be exposed before the first xdg_surface configure event
QTRY_VERIFY(!window.isExposed());
- exec([=] {
+ exec([&] {
xdgToplevel()->sendConfigure({0, 0}, {}); // Let the window decide the size
xdgSurface()->sendConfigure(nextSerial());
});