<div class="gmail_quote">On Thu, Sep 15, 2011 at 1:44 PM, Michael T. Dean <span dir="ltr">&lt;<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 09/15/2011 12:15 PM, Jerry Rubinow wrote:<br>
<div>&gt; On Thu, Sep 15, 2011 at 12:06 PM, Stuart Morgan wrote:<br>
&gt;&gt; On Thursday 15 Sep 2011 07:44:51 Jerry Rubinow wrote:<br>
&gt;&gt;&gt; Would a patch be accepted which trimmed off trailing whitespace in the<br>
&gt;&gt;&gt; channel callsigns before doing the comparison for merging channels in the<br>
&gt;&gt;&gt; program guide?<br>
&gt;&gt; Would it not be easier in the long term to trim the whitespace at the time<br>
&gt;&gt; the<br>
&gt;&gt; callsign is inserted into the database instead of all the places that it&#39;s<br>
&gt;&gt; read back from the database?<br>
&gt;&gt;<br>
&gt;&gt; A one-off DB update could address the existing instances of<br>
&gt;&gt; trailing/leading<br>
&gt;&gt; whitespace.<br>
<br>
</div>Ah, yeah, I misread it thinking he was asking about fixing the callsigns<br>
in the editors so they&#39;re put in the database correctly.  But, yeah, I<br>
agree it should be fixed upon insert--meaning we only need a fix for the<br>
4 channel editors (mythtv-setup, frontend, MythWeb, and HTTP setup).</blockquote><div><br></div><div>I started looking at mythtv-setup, channeleditor.cpp to be specific.  I see where it reads the DB and populates the UI with the channel info, but I don&#39;t see how edited info gets back into the DB.  Background: lots of C++ experience, not so much with QT, some DB work, enough to puzzle my way through understanding a query.</div>
<div><br></div><div>-Jerry</div></div>