copyPageAct->setEnabled(isMediaView);
copyLinkAct->setEnabled(isMediaView);
findVideoPartsAct->setEnabled(isMediaView);
- The::globalActions()->value("related-videos")->setEnabled(isMediaView);
toolbarSearch->setEnabled(widget == homeView || isMediaView || widget == downloadView);
if (widget == homeView) {
searchView->updateRecentKeywords();
searchView->updateRecentChannels();
}
+ QAbstractNetworkCache *cache = The::networkAccessManager()->cache();
+ if (cache) cache->clear();
showMessage(tr("Your privacy is now safe"));
}