Permalink
Browse files

Merge pull request #7028 from lioncash/obsolete

GeneralPane: Replace usages of obsolete QString member function sprintf
  • Loading branch information...
leoetlino committed May 30, 2018
2 parents b7a268c + bd585f7 commit bdfd331355a858adfa21b4cc306c4a6081e8b087
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/Settings/GeneralPane.cpp
@@ -135,9 +135,9 @@ void GeneralPane::CreateBasic()
{
QString str;
if (i != 100)
str.sprintf("%i%%", i);
str = QStringLiteral("%1%").arg(i);
else
str.sprintf(tr("%i%% (Normal Speed)").toStdString().c_str(), i);
str = tr("%1% (Normal Speed)").arg(i);
m_combobox_speedlimit->addItem(str);
}

0 comments on commit bdfd331

Please sign in to comment.