Merge pull request #11041 from Chocobo1/splitRef

Revise operations in TorrentHandle class
This commit is contained in:
Mike Tzou
2019-08-09 12:27:44 +08:00
committed by GitHub
14 changed files with 121 additions and 100 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;