mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Replace QStringRef with QStringView
This commit is contained in:
@@ -1590,7 +1590,7 @@ void Session::populateAdditionalTrackers()
|
||||
m_additionalTrackerList.clear();
|
||||
|
||||
const QString trackers = additionalTrackers();
|
||||
for (QStringRef tracker : asConst(trackers.splitRef('\n')))
|
||||
for (QStringView tracker : asConst(QStringView(trackers).split(u'\n')))
|
||||
{
|
||||
tracker = tracker.trimmed();
|
||||
if (!tracker.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user