[autotests] Fix build with older compiler
We cannot create a QSignalSpy on a QPointer.
This commit is contained in:
parent
9a44631c24
commit
07e0f92d80
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue