mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 22:14:32 +00:00
In qtorrenthandle.cpp exception made caught by reference
This commit is contained in:
parent
423d60cced
commit
bc22447a6a
@ -257,7 +257,7 @@ QStringList QTorrentHandle::url_seeds() const {
|
|||||||
qDebug("URL Seed: %s", it->c_str());
|
qDebug("URL Seed: %s", it->c_str());
|
||||||
res << misc::toQString(*it);
|
res << misc::toQString(*it);
|
||||||
}
|
}
|
||||||
} catch(std::exception e) {
|
} catch(std::exception &e) {
|
||||||
std::cout << "ERROR: Failed to convert the URL seed" << std::endl;
|
std::cout << "ERROR: Failed to convert the URL seed" << std::endl;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user