mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 21:28:07 -06:00
Rename literal operator
Qt 6.4 introduced `QString operator""_s()` and the previous `""_qs` is deprecated since Qt 6.8.
This commit is contained in:
@@ -190,7 +190,7 @@ void DownloadedPiecesBar::clear()
|
||||
QString DownloadedPiecesBar::simpleToolTipText() const
|
||||
{
|
||||
const QString borderColor = colorBoxBorderColor().name();
|
||||
const QString rowHTML = u"<tr><td width=20 bgcolor='%1' style='border: 1px solid \"%2\";'></td><td>%3</td></tr>"_qs;
|
||||
const QString rowHTML = u"<tr><td width=20 bgcolor='%1' style='border: 1px solid \"%2\";'></td><td>%3</td></tr>"_s;
|
||||
return u"<table cellspacing=4>"
|
||||
+ rowHTML.arg(backgroundColor().name(), borderColor, tr("Missing pieces"))
|
||||
+ rowHTML.arg(m_dlPieceColor.name(), borderColor, tr("Partial pieces"))
|
||||
|
||||
Reference in New Issue
Block a user