diskmanager: clearing disk cache at runtime will correctly signal renderers
Clearing the disk cache in the preferences will correctly communicate to renderers that those frames are now deleted.
This commit is contained in:
@@ -112,7 +112,7 @@ void PreferencesDiskTab::ClearDiskCache()
|
||||
tr("Clear Disk Cache"),
|
||||
tr("Are you sure you want to clear the disk cache in '%1'?").arg(Config::Current()["DiskCachePath"].toString()),
|
||||
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
|
||||
if (DiskManager::instance()->ClearDiskCache()) {
|
||||
if (DiskManager::instance()->ClearDiskCache(false)) {
|
||||
QMessageBox::information(this,
|
||||
tr("Clear Disk Cache"),
|
||||
tr("Disk cache cleared successfully"),
|
||||
|
||||
Reference in New Issue
Block a user