mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: watch sub-directories from image wallppaper plugin
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5c4f03cbd4
commit
bf00ba8810
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ void BackgroundListModel::reload(const QStringList &selected)
|
|||
|
||||
// add wallpaper dirs to dirwatch (recursively)
|
||||
foreach (const QString &dir, dirs) {
|
||||
m_dirwatch.addDir(dir);
|
||||
m_dirwatch.addDir(dir, true);
|
||||
}
|
||||
|
||||
BackgroundFinder *finder = new BackgroundFinder(m_structureParent.data(), dirs);
|
||||
|
|
|
@ -415,7 +415,7 @@ void Image::updateDirWatch(const QStringList &newDirs)
|
|||
|
||||
foreach (const QString &newDir, newDirs) {
|
||||
if (!m_dirWatch->contains(newDir)) {
|
||||
m_dirWatch->addDir(newDir);
|
||||
m_dirWatch->addDir(newDir, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue