summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Pinkham <cpinkham@mythtv.org>2011-08-12 03:14:31 (GMT)
committer Chris Pinkham <cpinkham@mythtv.org>2011-08-12 03:14:31 (GMT)
commitc212ca818ff4e4c053f8aa1cfc079902e74e2cfe (patch)
tree339ebc7fd3e16d837beb25227a2bca437f8eac1c
parent45ddada46e24438b80f98082329977b6c518d522 (diff)
Fix Theme Chooser theme downloading on remote frontends.
Backports part of caea1c7d7129.
-rw-r--r--mythtv/programs/mythfrontend/themechooser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mythtv/programs/mythfrontend/themechooser.cpp b/mythtv/programs/mythfrontend/themechooser.cpp
index 8452bc0..f46a972 100644
--- a/mythtv/programs/mythfrontend/themechooser.cpp
+++ b/mythtv/programs/mythfrontend/themechooser.cpp
@@ -651,6 +651,7 @@ void ThemeChooser::customEvent(QEvent *e)
if (file.exists())
{
remoteFileIsLocal = true;
+ m_downloadFile = localFile;
}
else
{
@@ -658,8 +659,9 @@ void ThemeChooser::customEvent(QEvent *e)
m_downloadFile, localFile, this);
OpenBusyPopup(tr("Copying %1 Theme Package")
.arg(m_downloadTheme->GetName()));
+ m_downloadFile = localFile;
+ return;
}
- m_downloadFile = localFile;
}
else
{