From e34b4c4d09767a6b6c00455530b4e5aa6df28ffd Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Sat, 11 Jun 2022 00:24:42 +0100 Subject: [PATCH] tests: Fix Qt6 qtquick tests regarding mouse grabbing not working QtQuick tests don't work well if run after the QtWidget ones, so change order. --- src/Platform.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Platform.cpp b/src/Platform.cpp index 7d29e7af..f019382f 100644 --- a/src/Platform.cpp +++ b/src/Platform.cpp @@ -132,13 +132,14 @@ std::vector Platform::frontendTypes() #endif -#ifdef KDDW_FRONTEND_QTWIDGETS - types.push_back(FrontendType::QtWidgets); -#endif #ifdef KDDW_FRONTEND_QTQUICK types.push_back(FrontendType::QtQuick); #endif +#ifdef KDDW_FRONTEND_QTWIDGETS + types.push_back(FrontendType::QtWidgets); +#endif + return types; }