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

This commit is contained in:
Chocobo1 2017-03-06 23:51:35 +08:00
parent 7539bee5c5
commit ffdcfe9686
9 changed files with 34 additions and 40 deletions

View file

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