mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Replace QString::split() by faster alternatives
This commit is contained in:
@@ -119,7 +119,7 @@ void PluginSelectDialog::dropEvent(QDropEvent *event)
|
||||
}
|
||||
}
|
||||
else {
|
||||
files = event->mimeData()->text().split(QLatin1String("\n"));
|
||||
files = event->mimeData()->text().split('\n');
|
||||
}
|
||||
|
||||
if (files.isEmpty()) return;
|
||||
|
||||
Reference in New Issue
Block a user