Fixed issue #403 (sidecar files deleted when clicking "Clear Profile")
This commit is contained in:
@@ -247,10 +247,6 @@ void CacheManager::clearProfiles () {
|
|||||||
Glib::Mutex::Lock lock(mutex_);
|
Glib::Mutex::Lock lock(mutex_);
|
||||||
|
|
||||||
deleteDir ("profiles");
|
deleteDir ("profiles");
|
||||||
// clear profiles of open thumbnails
|
|
||||||
string_thumb_map::iterator i;
|
|
||||||
for (i=openEntries.begin(); i!=openEntries.end(); i++)
|
|
||||||
i->second->clearProcParams (CACHEMGR);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CacheManager::deleteDir (const Glib::ustring& dirName) {
|
void CacheManager::deleteDir (const Glib::ustring& dirName) {
|
||||||
|
Reference in New Issue
Block a user