mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Use correct return statement
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user