1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 06:17:58 +00:00

Remove thin space

Generally qbt doesn't put a space before percentage symbol.
This change makes the UI elements consistent.
This commit is contained in:
Chocobo1 2023-09-01 18:20:35 +08:00
parent ff80e0ce66
commit 39efd0e9ff
2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,6 @@
inline const QString C_COPYRIGHT = u"©"_s; inline const QString C_COPYRIGHT = u"©"_s;
inline const QString C_INEQUALITY = u""_s; inline const QString C_INEQUALITY = u""_s;
inline const QString C_INFINITY = u""_s; inline const QString C_INFINITY = u""_s;
inline const QString C_THIN_SPACE = u""_s;
inline const QString C_UTP = u"μTP"_s; inline const QString C_UTP = u"μTP"_s;
inline const QString C_LOCALE_ARABIC = u"عربي"_s; inline const QString C_LOCALE_ARABIC = u"عربي"_s;

View File

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