diff options
author | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2017-04-18 10:19:12 +0200 |
---|---|---|
committer | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2017-04-19 08:49:49 +0000 |
commit | 288bfb0bbd778fdfa6ac9fdcdc1afc19ec13aeaf (patch) | |
tree | 5c944dbacc6e2e291ed342a6ec9be7e12564ba68 /tests/auto/cmake | |
parent | 254f35ce98bebd8f4446fec66bb50f2126b61c28 (diff) |
QLineEdit: Make the clear button always the leftmost button
QLineEditIconButton currently draws a fully transparent pixmap in its
paintEvent() function, when the line edit is empty. This does not work
when there is another trailing QAction that is visible even when the
line edit has no text, as reported in QTBUG-59957.
To fix this issue, make sure the clear button is always the leftmost
button.
Task-number: QTBUG-59957
Change-Id: I8a4f96aae07856aa0e1053ebb338ba9bdf052a16
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/cmake')
0 files changed, 0 insertions, 0 deletions