From e551e34403a082180aad38c0f0aff647de5066cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 10 Mar 2014 09:47:26 +0100 Subject: [PATCH] Use TextField of QtQuickControls instead of Plasma Prefer the native widget. Disadvantage: clear button is missing. REVIEW: 116691 --- kcmkwin/kwincompositing/qml/EffectView.qml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kcmkwin/kwincompositing/qml/EffectView.qml b/kcmkwin/kwincompositing/qml/EffectView.qml index c2335328cc..b1b4c534c0 100644 --- a/kcmkwin/kwincompositing/qml/EffectView.qml +++ b/kcmkwin/kwincompositing/qml/EffectView.qml @@ -22,7 +22,7 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Layouts 1.0 import org.kde.kwin.kwincompositing 1.0 -import org.kde.plasma.components 2.0 as PlasmaComponents +import org.kde.plasma.core 2.0 Item { signal changed @@ -64,14 +64,11 @@ Item { } RowLayout { - PlasmaComponents.TextField { + TextField { + // TODO: needs clear button, missing in Qt id: searchField - clearButtonShown: true + placeholderText: i18n("Search Plugins") Layout.fillWidth: true - height: 20 - anchors { - top: hint.bottom - } focus: true }