Skip to content
Permalink
Browse files

When reloading themes, force a network reload.

This prevents the internal QT caching from handing back a
valid cached file, which is what would normally happen.
  • Loading branch information...
linuxdude42 committed Dec 3, 2018
1 parent 3992674 commit c379dd6920fa5664e87e5fb8d1973fb3111bccf6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythfrontend/themechooser.cpp
@@ -291,7 +291,7 @@ void ThemeChooser::LoadVersion(const QString &version,
QDir dir;
if (!dir.mkpath(destdir))
ShowOkPopup(tr("Unable to create '%1'").arg(destdir));
bool result = GetMythDownloadManager()->download(url, remoteThemesFile);
bool result = GetMythDownloadManager()->download(url, remoteThemesFile, true);

LOG(VB_GUI, LOG_INFO, LOC +
QString("Downloading '%1' to '%2'").arg(url).arg(remoteThemesFile));

0 comments on commit c379dd6

Please sign in to comment.
You can’t perform that action at this time.