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:
parent
68e0425bde
commit
c5e5a679bd
|
@ -167,7 +167,7 @@ QIcon IconProvider::emptyWebIcon()
|
||||||
QImage IconProvider::emptyWebImage()
|
QImage IconProvider::emptyWebImage()
|
||||||
{
|
{
|
||||||
if (instance()->m_emptyWebImage.isNull()) {
|
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;
|
return instance()->m_emptyWebImage;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user