mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Revise string literal usage
This commit covers src/gui folder. PR #16757.
This commit is contained in:
@@ -88,8 +88,8 @@ DownloadFromURLDialog::DownloadFromURLDialog(QWidget *parent)
|
||||
uniqueURLs << str;
|
||||
}
|
||||
|
||||
const QString text = uniqueURLs.values().join(QLatin1Char('\n'))
|
||||
+ (!uniqueURLs.isEmpty() ? QLatin1String("\n") : QLatin1String(""));
|
||||
const QString text = uniqueURLs.values().join(u'\n')
|
||||
+ (!uniqueURLs.isEmpty() ? u"\n" : u"");
|
||||
|
||||
m_ui->textUrls->setText(text);
|
||||
m_ui->textUrls->moveCursor(QTextCursor::End);
|
||||
|
||||
Reference in New Issue
Block a user