From 07e0f92d804257af59e694cacde71328810665a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 14 Jun 2016 11:22:58 +0200 Subject: [PATCH] [autotests] Fix build with older compiler We cannot create a QSignalSpy on a QPointer. --- src/wayland/autotests/client/test_wayland_blur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/autotests/client/test_wayland_blur.cpp b/src/wayland/autotests/client/test_wayland_blur.cpp index cad680d28f..a220526ea9 100644 --- a/src/wayland/autotests/client/test_wayland_blur.cpp +++ b/src/wayland/autotests/client/test_wayland_blur.cpp @@ -172,7 +172,7 @@ void TestBlur::testCreate() QCOMPARE(serverSurface->blur()->region(), QRegion(0, 0, 10, 20)); // and destroy - QSignalSpy destroyedSpy(serverSurface->blur(), &QObject::destroyed); + QSignalSpy destroyedSpy(serverSurface->blur().data(), &QObject::destroyed); QVERIFY(destroyedSpy.isValid()); delete blur; QVERIFY(destroyedSpy.wait());