Use correct return statement

This commit is contained in:
Vladimir Golovnev (Glassez) 2021-03-19 14:44:52 +03:00 committed by sledgehammer999
commit 9758633eeb
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

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);