diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-06 16:14:30 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-27 12:13:08 +0200 |
commit | ffde7e8995be207d3a3d628a31dbb19ba683a1c7 (patch) | |
tree | d0450e8436a7ec7c2e6b66ea5af1bc6cc0094179 /tests/auto/widgets | |
parent | 7a5f865186b3dd831c5943ca6050437fc17abb87 (diff) |
QIcon: Add pixmap() overload which take devicePixelRatio
Add new QIcon::pixmap() overload:
QPixmap pixmap(const QSize &size, qreal devicePixelRatio, ...)
This function replaces the existing pixmap() function which
take a QWindow pointer, and should be more convenient in use.
Task-number: QTBUG-85885
Change-Id: Ie4ca96a266d9278864678dc61bdfc2836cabdb93
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions