Browse Source

Merge pull request #9553 from sledgehammer999/misc_fixes

Misc fixes
adaptive-webui-19844
sledgehammer999 6 years ago committed by GitHub
parent
commit
6c0af1b078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/base/bittorrent/torrenthandle.h
  2. 2
      src/base/utils/foreignapps.cpp

1
src/base/bittorrent/torrenthandle.h

@ -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;

2
src/base/utils/foreignapps.cpp

@ -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…
Cancel
Save