Browse Source

Use correct return statement

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
46e6ed480a
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/gui/torrentcontentmodelitem.cpp

2
src/gui/torrentcontentmodelitem.cpp

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

Loading…
Cancel
Save