diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-03-21 23:30:20 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-04-18 21:58:09 +0000 |
| commit | 298e8119222174cfb253272699e7fd90c1abf255 (patch) | |
| tree | c4914ab07378db0626a0615a16980de65fa239cd /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | fb7670f193712fae2d4c03d6ee2a6c30101b886f (diff) | |
Windows11Style/WindowsVistaStyle: don't modify SE_ItemViewItemDecoration
The windowsvista style increased the width for SE_ItemViewItemDecoration
by 4 pixels which lead to a non-square area for the decoration item.
Since the item is painted centered on the given area, this did not
change anything for squared pixmap-based icons. But when using a svg,
the image is automatically stretched to fill the complete area.
Therefore a svg is not painted quadratic but stretched which is not what
a user expects. Looking for other usages of SE_ItemViewItemDecoration
did not reveal another usecase for this so it should be safe to remove
the handling within windowsvista style.
Pick-to: 6.9
Fixes: QTBUG-131955
Change-Id: I65f8e2afd1c2fb310d6a23b1405a920adcbf42c3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
