mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Replace the zeroing of pointers with nullptr
This commit is contained in:
@@ -48,7 +48,7 @@ class PowerManagement : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PowerManagement(QObject *parent = 0);
|
||||
PowerManagement(QObject *parent = nullptr);
|
||||
virtual ~PowerManagement();
|
||||
|
||||
void setActivityState(bool busy);
|
||||
|
||||
@@ -42,7 +42,7 @@ class PowerManagementInhibitor : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PowerManagementInhibitor(QObject *parent = 0);
|
||||
PowerManagementInhibitor(QObject *parent = nullptr);
|
||||
virtual ~PowerManagementInhibitor();
|
||||
|
||||
void RequestIdle();
|
||||
|
||||
Reference in New Issue
Block a user