Permalink
Browse files

Initialize m_Time properly in MythUIClock.

  • Loading branch information...
daniel-kristjansson committed Jul 6, 2012
1 parent 28d9324 commit d7a27a144257e1f96dae7c921ccc2347fc69dc44
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/mythuiclock.cpp
@@ -73,7 +73,7 @@ void MythUIClock::SetText(const QString &text)
if (txt.isEmpty())
{
- m_Time = QDateTime::currentDateTime();
+ m_Time = MythDate::current();
txt = GetTimeText();
}

0 comments on commit d7a27a1

Please sign in to comment.