1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

SpeedDial: Don't override dial title when loading fails

Showing broken image preview is enough.

Closes #1992
This commit is contained in:
David Rosca 2016-06-14 12:01:56 +02:00
parent 24882084de
commit 72b3fddb22

View File

@ -346,7 +346,6 @@ void SpeedDial::thumbnailCreated(const QPixmap &pixmap)
if (pixmap.isNull()) { if (pixmap.isNull()) {
fileName = "qrc:/html/broken-page.png"; fileName = "qrc:/html/broken-page.png";
title = tr("Unable to load"); title = tr("Unable to load");
loadTitle = true;
} }
else { else {
if (!pixmap.save(fileName, "PNG")) { if (!pixmap.save(fileName, "PNG")) {