Skip to content

Commit

Permalink
Remove QDateTime->QString conversion for a DATETIME binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 20, 2011
1 parent 1c5bca8 commit 63b999e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythfrontend/proglist.cpp
Expand Up @@ -1294,8 +1294,7 @@ void ProgLister::FillItemList(bool restorePosition, bool updateDisp)
}
else if (m_type == plTime) // list by time
{
bindings[":PGILSEARCHTIME1"] =
MythDate::toString(m_searchTime, MythDate::kDatabase);
bindings[":PGILSEARCHTIME1"] = m_searchTime;
where = "WHERE channel.visible = 1 "
" AND program.starttime >= :PGILSEARCHTIME1 ";
if (m_titleSort)
Expand Down

0 comments on commit 63b999e

Please sign in to comment.