Permalink
Browse files

Fix Theme Chooser theme downloading on remote frontends.

Backports part of caea1c7.
  • Loading branch information...
1 parent 45ddada commit c212ca818ff4e4c053f8aa1cfc079902e74e2cfe @cpinkham cpinkham committed Aug 12, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 mythtv/programs/mythfrontend/themechooser.cpp
@@ -651,15 +651,17 @@ void ThemeChooser::customEvent(QEvent *e)
if (file.exists())
{
remoteFileIsLocal = true;
+ m_downloadFile = localFile;
}
else
{
GetMythDownloadManager()->queueDownload(
m_downloadFile, localFile, this);
OpenBusyPopup(tr("Copying %1 Theme Package")
.arg(m_downloadTheme->GetName()));
+ m_downloadFile = localFile;
+ return;
}
- m_downloadFile = localFile;
}
else
{

0 comments on commit c212ca8

Please sign in to comment.