1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Use correct return statement

This commit is contained in:
Vladimir Golovnev (Glassez) 2021-03-19 14:44:52 +03:00
parent 8d9b6cca63
commit 46e6ed480a
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -142,7 +142,7 @@ QString TorrentContentModelItem::displayData(const int column) const
const QString value = (avail >= 1)
? QString::fromLatin1("100")
: Utils::String::fromDouble((avail * 100), 1);
return {value + C_THIN_SPACE + QLatin1Char('%')};
return (value + C_THIN_SPACE + QLatin1Char('%'));
}
default:
Q_ASSERT(false);