- fix compilation with Qt <= 4.3

This commit is contained in:
Christophe Dumez
2009-03-28 19:55:44 +00:00
parent 6ef317da16
commit edaad3f605

View File

@@ -253,7 +253,7 @@ void SearchEngine::downloadFinished(int exitcode, QProcess::ExitStatus) {
if(exitcode == 0) {
QString line = QString::fromUtf8(downloadProcess->readAllStandardOutput()).trimmed();
QStringList parts = line.split(' ');
if(parts.length() == 2) {
if(parts.size() == 2) {
QString path = parts[0];
QString url = parts[1];
BTSession->processDownloadedFile(url, path);