We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cd8c57 commit bfee7b6Copy full SHA for bfee7b6
src/widgets/daboutdialog.cpp
@@ -459,9 +459,7 @@ void DAboutDialog::setProductIcon(const QIcon &icon)
459
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
460
d->logoLabel->setPixmap(icon.pixmap(windowHandle(), QSize(128, 128)));
461
#else
462
- winId(); // TODO: wait for checking
463
- auto window = windowHandle();
464
- d->logoLabel->setPixmap(icon.pixmap(QSize(128, 128), window->screen()->devicePixelRatio()));
+ d->logoLabel->setPixmap(icon.pixmap(QSize(128, 128), devicePixelRatio()));
465
#endif
466
}
467
0 commit comments