mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
Use QString literals
This patch covers src/gui and some leftovers from previous commit.
This commit is contained in:
parent
5341478036
commit
802ec5a14e
59 changed files with 912 additions and 902 deletions
|
@ -66,14 +66,14 @@ void TrackerEntriesDialog::setTrackers(const QVector<BitTorrent::TrackerEntry> &
|
|||
|
||||
for (const BitTorrent::TrackerEntry &entry : trackers)
|
||||
{
|
||||
tiers[entry.tier] += (entry.url + '\n');
|
||||
tiers[entry.tier] += (entry.url + u'\n');
|
||||
maxTier = std::max(maxTier, entry.tier);
|
||||
}
|
||||
|
||||
QString text = tiers.value(0);
|
||||
|
||||
for (int i = 1; i <= maxTier; ++i)
|
||||
text += ('\n' + tiers.value(i));
|
||||
text += (u'\n' + tiers.value(i));
|
||||
|
||||
m_ui->plainTextEdit->setPlainText(text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue