From 8079a195f562455d2884311bd1df4d369a48070d Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 3 Nov 2018 19:17:52 +0100 Subject: [PATCH] Fix build with Qt <5.10 (no support for QCOMPARE(uint, int) --- src/wayland/autotests/client/test_plasma_virtual_desktop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp b/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp index d4fd82f4f6..7c535a262e 100644 --- a/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp +++ b/src/wayland/autotests/client/test_plasma_virtual_desktop.cpp @@ -505,7 +505,7 @@ void TestVirtualDesktop::testCreateRequested() m_plasmaVirtualDesktopManagement->requestCreateVirtualDesktop(QStringLiteral("Desktop"), 1); desktopCreateRequestedSpy.wait(); QCOMPARE(desktopCreateRequestedSpy.first().first().toString(), QStringLiteral("Desktop")); - QCOMPARE(desktopCreateRequestedSpy.first().at(1).toUInt(), 1); + QCOMPARE(desktopCreateRequestedSpy.first().at(1).toUInt(), (quint32)1); //actually create m_plasmaVirtualDesktopManagementInterface->createDesktop(QStringLiteral("0-4"), 1);