1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fix generic webpage icon with HighDPI

This commit is contained in:
David Rosca 2016-12-30 17:20:01 +01:00
parent 68e0425bde
commit c5e5a679bd

View File

@ -167,7 +167,7 @@ QIcon IconProvider::emptyWebIcon()
QImage IconProvider::emptyWebImage()
{
if (instance()->m_emptyWebImage.isNull()) {
instance()->m_emptyWebImage = QPixmap(":icons/other/webpage.svg").toImage();
instance()->m_emptyWebImage = QIcon(QSL(":icons/other/webpage.svg")).pixmap(16).toImage();
}
return instance()->m_emptyWebImage;