mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
In qtorrenthandle.cpp exception made caught by reference
This commit is contained in:
parent
423d60cced
commit
bc22447a6a
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ QStringList QTorrentHandle::url_seeds() const {
|
|||
qDebug("URL Seed: %s", it->c_str());
|
||||
res << misc::toQString(*it);
|
||||
}
|
||||
} catch(std::exception e) {
|
||||
} catch(std::exception &e) {
|
||||
std::cout << "ERROR: Failed to convert the URL seed" << std::endl;
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue