Skip to content

Commit

Permalink
Initialise float m_relativeSize() in the constructor. Value chosen is…
Browse files Browse the repository at this point in the history
… extremely arbitrary. Coverity.
  • Loading branch information
stuartm committed May 26, 2013
1 parent d6ed400 commit 92decfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythui/mythfontproperties.cpp
Expand Up @@ -17,7 +17,8 @@

MythFontProperties::MythFontProperties() :
m_brush(QColor(Qt::white)), m_hasShadow(false), m_shadowAlpha(255),
m_hasOutline(false), m_outlineAlpha(255), m_bFreeze(false), m_stretch(100)
m_hasOutline(false), m_outlineAlpha(255), m_relativeSize(0.05f),
m_bFreeze(false), m_stretch(100)
{
CalcHash();
}
Expand Down

0 comments on commit 92decfb

Please sign in to comment.