inputmethod: Remove workaround
This commit is contained in:
parent
422522d15b
commit
26fd5d3667
2 changed files with 1 additions and 17 deletions
|
@ -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"
|
|
||||||
}
|
|
|
@ -72,7 +72,7 @@ void InputMethodTest::initTestCase()
|
||||||
QVERIFY(waylandServer()->init(s_socketName));
|
QVERIFY(waylandServer()->init(s_socketName));
|
||||||
QMetaObject::invokeMethod(kwinApp()->platform(), "setVirtualOutputs", Qt::DirectConnection, Q_ARG(int, 2));
|
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();
|
kwinApp()->start();
|
||||||
QVERIFY(applicationStartedSpy.wait());
|
QVERIFY(applicationStartedSpy.wait());
|
||||||
QCOMPARE(screens()->count(), 2);
|
QCOMPARE(screens()->count(), 2);
|
||||||
|
|
Loading…
Reference in a new issue