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:
parent
24882084de
commit
72b3fddb22
@ -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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user