From 26fd5d3667f97a10741059147fd9f30be66769da Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 21 Jul 2021 13:10:06 +0200 Subject: [PATCH] inputmethod: Remove workaround --- autotests/integration/emptywindow.qml | 16 ---------------- autotests/integration/inputmethod_test.cpp | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 autotests/integration/emptywindow.qml diff --git a/autotests/integration/emptywindow.qml b/autotests/integration/emptywindow.qml deleted file mode 100644 index 21a35c696f..0000000000 --- a/autotests/integration/emptywindow.qml +++ /dev/null @@ -1,16 +0,0 @@ -/* - KWin - the KDE window manager - This file is part of the KDE project. - - SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez - - SPDX-License-Identifier: GPL-2.0-or-later -*/ - -import QtQuick.Controls 2.0 - -ApplicationWindow -{ - visible: true - title: "Banana" -} diff --git a/autotests/integration/inputmethod_test.cpp b/autotests/integration/inputmethod_test.cpp index 7e0a20bee3..5818d8ea3f 100644 --- a/autotests/integration/inputmethod_test.cpp +++ b/autotests/integration/inputmethod_test.cpp @@ -72,7 +72,7 @@ void InputMethodTest::initTestCase() QVERIFY(waylandServer()->init(s_socketName)); QMetaObject::invokeMethod(kwinApp()->platform(), "setVirtualOutputs", Qt::DirectConnection, Q_ARG(int, 2)); - static_cast(kwinApp())->setInputMethodServerToStart("qml " + QFINDTESTDATA("emptywindow.qml")); + static_cast(kwinApp())->setInputMethodServerToStart("internal"); kwinApp()->start(); QVERIFY(applicationStartedSpy.wait()); QCOMPARE(screens()->count(), 2);