inputmethod: Remove workaround

icc-effect-5.26.4
Aleix Pol 2021-07-21 13:10:06 +02:00
parent 422522d15b
commit 26fd5d3667
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick.Controls 2.0
ApplicationWindow
{
visible: true
title: "Banana"
}

View File

@ -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<WaylandTestApplication *>(kwinApp())->setInputMethodServerToStart("qml " + QFINDTESTDATA("emptywindow.qml"));
static_cast<WaylandTestApplication *>(kwinApp())->setInputMethodServerToStart("internal");
kwinApp()->start();
QVERIFY(applicationStartedSpy.wait());
QCOMPARE(screens()->count(), 2);