mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Define QT_USE_QSTRINGBUILDER.
The old defines are deprecated. QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively in WebUI.
This commit is contained in:
committed by
sledgehammer999
parent
de7efb50c2
commit
0379376fd8
@@ -105,7 +105,7 @@ void TrackersAdditionDlg::parseUTorrentList(const QString &, const QString &path
|
||||
m_ui->trackers_list->insertPlainText("\n");
|
||||
int nb = 0;
|
||||
while (!list_file.atEnd()) {
|
||||
const QByteArray line = list_file.readLine().trimmed();
|
||||
const QString line = list_file.readLine().trimmed();
|
||||
if (line.isEmpty()) continue;
|
||||
BitTorrent::TrackerEntry newTracker(line);
|
||||
if (!existingTrackers.contains(newTracker)) {
|
||||
|
||||
Reference in New Issue
Block a user