diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-09-03 09:23:50 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-10-03 08:53:18 +0200 |
commit | 45ae0527aed387ddc6c6e2af400006ae0a8ea2ec (patch) | |
tree | 3bf93cebaabc128b32e8bc4702df77ac354cf258 /tests/auto/compositor | |
parent | 6e8bef14859836da27c5170aa829bafaf62714ed (diff) |
Compositor: Remove deprecated QWaylandSurface::size
[ChangeLog][Compositor] WaylandSurface.size referred to size in buffer
(not surface) coordinates which was confusing and has now been removed.
Use the bufferSize or surfaceSize properties instead.
Change-Id: Id435b58237e0425b241584f3d2e6ae04b534413d
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'tests/auto/compositor')
-rw-r--r-- | tests/auto/compositor/compositor/tst_compositor.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/compositor/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp index 7fbe8979b..64fb29b81 100644 --- a/tests/auto/compositor/compositor/tst_compositor.cpp +++ b/tests/auto/compositor/compositor/tst_compositor.cpp @@ -540,11 +540,6 @@ void tst_WaylandCompositor::mapSurfaceHiDpi() QObject::connect(waylandSurface, &QWaylandSurface::hasContentChanged, verifyComittedState); QSignalSpy hasContentSpy(waylandSurface, SIGNAL(hasContentChanged())); -#if QT_DEPRECATED_SINCE(5, 13) - QObject::connect(waylandSurface, &QWaylandSurface::sizeChanged, verifyComittedState); - QSignalSpy sizeSpy(waylandSurface, SIGNAL(sizeChanged())); -#endif - QObject::connect(waylandSurface, &QWaylandSurface::bufferSizeChanged, verifyComittedState); QSignalSpy bufferSizeSpy(waylandSurface, SIGNAL(bufferSizeChanged())); @@ -570,9 +565,6 @@ void tst_WaylandCompositor::mapSurfaceHiDpi() wl_surface_commit(surface); QTRY_COMPARE(hasContentSpy.count(), 1); -#if QT_DEPRECATED_SINCE(5, 13) - QTRY_COMPARE(sizeSpy.count(), 1); -#endif QTRY_COMPARE(bufferSizeSpy.count(), 1); QTRY_COMPARE(destinationSizeSpy.count(), 1); QTRY_COMPARE(bufferScaleSpy.count(), 1); |