From 46e6ed480abf7a0aca4c1fe699d71392832a6a5a Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Fri, 19 Mar 2021 14:44:52 +0300 Subject: [PATCH] Use correct return statement --- src/gui/torrentcontentmodelitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/torrentcontentmodelitem.cpp b/src/gui/torrentcontentmodelitem.cpp index 34ebe498c..62731312a 100644 --- a/src/gui/torrentcontentmodelitem.cpp +++ b/src/gui/torrentcontentmodelitem.cpp @@ -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);