Permalink
Browse files

Trivial fixes for plugins.

  • Loading branch information...
1 parent 19ec6e8 commit ccb9e83bc3d8093424a23ee2474bca8224e069dc @daniel-kristjansson daniel-kristjansson committed Aug 21, 2011
@@ -525,7 +525,7 @@ void NetSearch::streamWebVideo()
"Internal", item->GetMediaURL(),
item->GetDescription(), item->GetTitle(), item->GetSubtitle(),
QString(), item->GetSeason(), item->GetEpisode(), QString(),
- item->GetTime().toInt(), item->GetDate().ToString("yyyy"));
+ item->GetTime().toInt(), item->GetDate().toString("yyyy"));
}
void NetSearch::showWebVideo()
@@ -777,7 +777,7 @@ void NetTree::streamWebVideo()
"Internal", item->GetMediaURL(),
item->GetDescription(), item->GetTitle(), item->GetSubtitle(),
QString(), item->GetSeason(), item->GetEpisode(), QString(),
- item->GetTime().toInt(), item->GetDate().ToString("yyyy"));
+ item->GetTime().toInt(), item->GetDate().toString("yyyy"));
}
void NetTree::showWebVideo()
@@ -179,12 +179,12 @@ bool ZMConsole::Create(void)
void ZMConsole::updateTime(void)
{
- QString s = QTime::currentTime().toString(m_timeFormat);
+ QString s = MythDate::current().toLocalTime().toString(m_timeFormat);
if (s != m_time_text->GetText())
m_time_text->SetText(s);
- s = MythDate::current().ToString("dddd\ndd MMM yyyy");
+ s = MythDate::current().toLocalTime().toString("dddd\ndd MMM yyyy");
if (s != m_date_text->GetText())
m_date_text->SetText(s);

0 comments on commit ccb9e83

Please sign in to comment.