diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-05-16 08:38:19 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-05-28 08:36:52 +0000 |
commit | 0acd59153cd3dcc32444e03e595d3464f231ae44 (patch) | |
tree | ee85380d50199c8c00705124c6851125a407c3a5 /tests/auto/other/qfocusevent | |
parent | 35d8c23a1fdc9e9e8e8b628be9cc8584078bb15c (diff) |
winrt: fix tst_QFocusEvent
Change-Id: Ib2e82554c09a88a20fd789213a3040d6c6e42383
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tests/auto/other/qfocusevent')
-rw-r--r-- | tests/auto/other/qfocusevent/tst_qfocusevent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp index e82327bbb1..1b02c9e8ab 100644 --- a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp +++ b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp @@ -345,9 +345,10 @@ void tst_QFocusEvent::checkReason_ActiveWindow() d->hide(); if (!QGuiApplication::platformName().compare(QLatin1String("offscreen"), Qt::CaseInsensitive) - || !QGuiApplication::platformName().compare(QLatin1String("minimal"), Qt::CaseInsensitive)) { + || !QGuiApplication::platformName().compare(QLatin1String("minimal"), Qt::CaseInsensitive) + || !QGuiApplication::platformName().compare(QLatin1String("winrt"), Qt::CaseInsensitive)) { // Activate window of testFocusWidget, focus in that window goes to childFocusWidgetOne - QWARN("Platforms offscreen and minimal require explicit activateWindow()"); + QWARN("Platforms offscreen, minimal, and winrt require explicit activateWindow()"); testFocusWidget->activateWindow(); } |