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

Change background image instantly and for all speed dials

This commit is contained in:
Vladislav Tronko 2016-03-07 14:22:08 +02:00
parent 46e0b9d807
commit 65667b95db

View File

@ -305,6 +305,8 @@ void SpeedDial::setBackgroundImage(const QString &image)
{ {
m_backgroundImage = QzTools::pixmapToDataUrl(QPixmap(QUrl(image).toLocalFile())).toString(); m_backgroundImage = QzTools::pixmapToDataUrl(QPixmap(QUrl(image).toLocalFile())).toString();
m_backgroundImageUrl = image; m_backgroundImageUrl = image;
emit pagesChanged();
} }
void SpeedDial::setBackgroundImageSize(const QString &size) void SpeedDial::setBackgroundImageSize(const QString &size)