Replace QString::split() by faster alternatives

This commit is contained in:
Chocobo1
2019-08-06 23:07:57 +08:00
parent 1eeac90a29
commit b5b678c58f
12 changed files with 73 additions and 53 deletions

View File

@@ -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;