mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-18 06:01:52 +03:00
commit
6c0af1b078
2 changed files with 2 additions and 1 deletions
|
@ -158,6 +158,7 @@ namespace BitTorrent
|
||||||
class TorrentHandle : public QObject
|
class TorrentHandle : public QObject
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(TorrentHandle)
|
Q_DISABLE_COPY(TorrentHandle)
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(BitTorrent::TorrentHandle)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const qreal USE_GLOBAL_RATIO;
|
static const qreal USE_GLOBAL_RATIO;
|
||||||
|
|
|
@ -65,7 +65,7 @@ namespace
|
||||||
try {
|
try {
|
||||||
info = {exeName, versionStr.left(idx)};
|
info = {exeName, versionStr.left(idx)};
|
||||||
}
|
}
|
||||||
catch (const std::runtime_error &err) {
|
catch (const std::runtime_error &) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue