Do not warn about LayoutDirection in SearchField

Authored by ahiemstra on Oct 9 2019, 11:34 AM.

Description

Do not warn about LayoutDirection in SearchField

Summary:
LayoutDirection can only be used on visual items, Action is not one of
those. So we get a warning about that for every search field. This fixes
that.

Test Plan:
Have an application that uses SearchField, see that it no longer warns
about LayoutDirection.

Reviewers: Kirigami, broulik, ognarb, mart

Reviewed By: Kirigami, broulik, ognarb, mart

Subscribers: ognarb, broulik, plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D24499

Details