Replace Utils::String::fromStdString() by QString::fromStdString()

This commit is contained in:
Chocobo1 2017-03-07 19:41:38 +08:00
parent 87384ca2a2
commit fa2128cbae
9 changed files with 38 additions and 44 deletions

View file

@ -152,11 +152,6 @@ bool Utils::String::naturalCompareCaseInsensitive(const QString &left, const QSt
#endif
}
QString Utils::String::fromStdString(const std::string &str)
{
return QString::fromUtf8(str.c_str());
}
// to send numbers instead of strings with suffixes
QString Utils::String::fromDouble(double n, int precision)
{