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:
parent
46e0b9d807
commit
65667b95db
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user