mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Display download/upload speed in dock icon
Implementation is based on Transmission sources. Closes #2761 Closes #3671 Closes #7098 Closes #11350 Closes #18527 PR #19595
This commit is contained in:
@@ -61,6 +61,13 @@ class TorrentCreatorDialog;
|
||||
class TransferListFiltersWidget;
|
||||
class TransferListWidget;
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
namespace MacUtils
|
||||
{
|
||||
class Badger;
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace Net
|
||||
{
|
||||
struct DownloadResult;
|
||||
@@ -245,4 +252,7 @@ private:
|
||||
|
||||
QTimer *m_programUpdateTimer = nullptr;
|
||||
#endif
|
||||
#ifdef Q_OS_MACOS
|
||||
std::unique_ptr<MacUtils::Badger> m_badger;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user