mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
kdeplasma-addons: emit settingsChanged() signal on advanced settings change
fixes saving of advanced setting Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2078a980a2
commit
0652c463c2
1 changed files with 9 additions and 0 deletions
|
@ -335,6 +335,9 @@ void WeatherWallpaper::showAdvancedDialog()
|
|||
void WeatherWallpaper::colorChanged(const QColor& color)
|
||||
{
|
||||
m_color = color;
|
||||
|
||||
emit settingsChanged(true);
|
||||
|
||||
loadImage();
|
||||
}
|
||||
|
||||
|
@ -358,6 +361,8 @@ void WeatherWallpaper::pictureChanged(int index)
|
|||
m_weatherMap[conditionIndexValue] = b->path();
|
||||
}
|
||||
|
||||
emit settingsChanged(true);
|
||||
|
||||
loadImage();
|
||||
}
|
||||
|
||||
|
@ -377,6 +382,8 @@ void WeatherWallpaper::conditionChanged(int index)
|
|||
fillMetaInfo(b);
|
||||
}
|
||||
}
|
||||
|
||||
emit settingsChanged(true);
|
||||
}
|
||||
|
||||
void WeatherWallpaper::positioningChanged(int index)
|
||||
|
@ -389,6 +396,8 @@ void WeatherWallpaper::positioningChanged(int index)
|
|||
if (m_model) {
|
||||
m_model->setResizeMethod(m_resizeMethod);
|
||||
}
|
||||
|
||||
emit settingsChanged(true);
|
||||
}
|
||||
|
||||
void WeatherWallpaper::fillMetaInfo(Plasma::Package *b)
|
||||
|
|
Loading…
Add table
Reference in a new issue