mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: additional note about the refresh of .desktop files on KDirLister update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e512f4af70
commit
7e035dbe90
1 changed files with 3 additions and 1 deletions
|
@ -277,7 +277,9 @@ void KDirListerPrivate::_k_slotUpdateResult(KJob *job)
|
|||
}
|
||||
}
|
||||
} else if (item.isDesktopFile()) {
|
||||
// if an update was triggered might aswell refresh all current .desktop files
|
||||
// if an update was triggered might aswell refresh all current .desktop files, this
|
||||
// will also ensure .desktop files on remote protocol have their icon updated since
|
||||
// non-local .desktop files cannot be parsed by KDesktopFile without get() job
|
||||
kDebug(7003) << "updating desktop entry" << item;
|
||||
refreshedItems.append(qMakePair(founditem, item));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue