mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
Disable move constructor where it is sensible
This commit is contained in:
@@ -98,7 +98,7 @@ namespace Net
|
||||
class DownloadHandler : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadHandler)
|
||||
Q_DISABLE_COPY_MOVE(DownloadHandler)
|
||||
|
||||
public:
|
||||
using QObject::QObject;
|
||||
@@ -112,7 +112,7 @@ namespace Net
|
||||
class DownloadManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadManager)
|
||||
Q_DISABLE_COPY_MOVE(DownloadManager)
|
||||
|
||||
public:
|
||||
static void initInstance();
|
||||
|
||||
Reference in New Issue
Block a user