[mythtv-commits] Ticket #5339: [PATCH] Fix for missing icon import in 0.21
MythTV
mythtv at cvs.mythtv.org
Sat May 10 16:26:48 UTC 2008
#5339: [PATCH] Fix for missing icon import in 0.21
--------------------------------+-------------------------------------------
Reporter: mythtv at adiemus.org | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: medium | Mlocked: 0
--------------------------------+-------------------------------------------
The manual icon search/import functionality in 0.21-fixes (17294) is
broken. You can search the icon, select it, update it, and even submit
it, but the data never gets put into your DB because the wrong iterator is
checked inside of ImportIconsWizard::checkAndDownload()
The following diff seems to fix things for me:
Index: libs/libmythtv/importicons.cpp
===================================================================
--- libs/libmythtv/importicons.cpp (revision 17294)
+++ libs/libmythtv/importicons.cpp (working copy)
@@ -481,7 +481,7 @@
query.prepare(qstr);
query.bindValue(":ICON", m_strChannelDir+str2);
- query.bindValue(":CHANID", (*m_iter).strChanId);
+ query.bindValue(":CHANID", (*m_missingIter).strChanId);
if (!query.exec())
{
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5339>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list