mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 13:11:25 -07:00
Replace Utils::String::toStdString() by QString::toStdString()
This commit is contained in:
parent
7539bee5c5
commit
ffdcfe9686
9 changed files with 34 additions and 40 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue