mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Use correct return statement
This commit is contained in:
parent
3def5e40c4
commit
9758633eeb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue