diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-16 12:41:11 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-03-22 09:25:00 +0000 |
commit | b657496a0ba326af0688e9935069139c002849cf (patch) | |
tree | 68cd9298778771e43955125720dddaf395a783d5 /lib | |
parent | a125b2c4c744b8f5b9136170db66840eeaf1f278 (diff) | |
download | qtbase-b657496a0ba326af0688e9935069139c002849cf.tar.gz |
QLineEdit: Use High DPI pixmap for clear button.
Add a 32x32-pixmap to the style and factor out a function from
QStyle::standardIcon() to assemble the icon. The 32x32 pixmap may also be used
for the 16x16 case with devicePixelRatio=2.
Change QLineEditIconButton to use QStyle::standardIcon() instead of
QStyle::standardPixmap passing the QWindow to obtain the correct pixmap
from the icon.
Task-number: QTBUG-49374
Change-Id: I9895230f66911752cc13b7212609141610df0977
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions