mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
In qtorrenthandle.cpp exception made caught by reference
This commit is contained in:
committed by
sledgehammer999
parent
81d813c4c5
commit
7c1f712181
@@ -303,7 +303,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user