Skip to content
Permalink
Browse files

Use static QString::number(). Coverity 746819

  • Loading branch information
stuartm committed Dec 18, 2012
1 parent a1b3966 commit c4a4a022df54dd6db7a2680f194e2d674e530955
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/programinfo.cpp
@@ -1641,7 +1641,7 @@ void ProgramInfo::ToMap(InfoMap &progMap,
QString star_str = (stars != 0.0f) ?
QObject::tr("%n star(s)", "", GetStars(star_range)) : "";
progMap["stars"] = star_str;
progMap["numstars"] = QString().number(GetStars(star_range));
progMap["numstars"] = QString::number(GetStars(star_range));

if (stars != 0.0f && year)
progMap["yearstars"] = QString("(%1, %2)").arg(year).arg(star_str);

0 comments on commit c4a4a02

Please sign in to comment.
You can’t perform that action at this time.