mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
SpeedDial: Fix displaying broken page image
This commit is contained in:
parent
335c6b66c5
commit
1710e284c8
|
@ -338,7 +338,7 @@ void SpeedDial::thumbnailCreated(const QPixmap &pixmap)
|
|||
QString fileName = m_thumbnailsDir + QCryptographicHash::hash(url.toUtf8(), QCryptographicHash::Md4).toHex() + ".png";
|
||||
|
||||
if (pixmap.isNull()) {
|
||||
fileName = "qrc:/html/broken-page.png";
|
||||
fileName = ":/html/broken-page.png";
|
||||
title = tr("Unable to load");
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user