Skip to content

Commit

Permalink
Trivial fixes for plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 21, 2011
1 parent 19ec6e8 commit ccb9e83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mythplugins/mythnetvision/mythnetvision/netsearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion mythplugins/mythnetvision/mythnetvision/nettree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions mythplugins/mythzoneminder/mythzoneminder/zmconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ccb9e83

Please sign in to comment.