mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Net
|
||||
class DNSUpdater : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(DNSUpdater)
|
||||
|
||||
public:
|
||||
explicit DNSUpdater(QObject *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user