mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- fix compilation with Qt <= 4.3
This commit is contained in:
parent
00c5127ba1
commit
b85ed8ff38
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ void SearchEngine::downloadFinished(int exitcode, QProcess::ExitStatus) {
|
||||||
if(exitcode == 0) {
|
if(exitcode == 0) {
|
||||||
QString line = QString::fromUtf8(downloadProcess->readAllStandardOutput()).trimmed();
|
QString line = QString::fromUtf8(downloadProcess->readAllStandardOutput()).trimmed();
|
||||||
QStringList parts = line.split(' ');
|
QStringList parts = line.split(' ');
|
||||||
if(parts.length() == 2) {
|
if(parts.size() == 2) {
|
||||||
QString path = parts[0];
|
QString path = parts[0];
|
||||||
QString url = parts[1];
|
QString url = parts[1];
|
||||||
BTSession->processDownloadedFile(url, path);
|
BTSession->processDownloadedFile(url, path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue