Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Trivial fixes for plugins.

  • Loading branch information...
commit ccb9e83bc3d8093424a23ee2474bca8224e069dc 1 parent 19ec6e8
@daniel-kristjansson daniel-kristjansson authored
View
2  mythplugins/mythnetvision/mythnetvision/netsearch.cpp
@@ -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()
View
2  mythplugins/mythnetvision/mythnetvision/nettree.cpp
@@ -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()
View
4 mythplugins/mythzoneminder/mythzoneminder/zmconsole.cpp
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.