Browse Source

In qtorrenthandle.cpp exception made caught by reference

adaptive-webui-19844
Konstantin Goncharik 11 years ago
parent
commit
bc22447a6a
  1. 2
      src/qtlibtorrent/qtorrenthandle.cpp

2
src/qtlibtorrent/qtorrenthandle.cpp

@ -257,7 +257,7 @@ QStringList QTorrentHandle::url_seeds() const { @@ -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…
Cancel
Save