Disable move constructor where it is sensible

This commit is contained in:
Chocobo1
2021-06-29 14:45:23 +08:00
parent fd9941e2d8
commit 70d1cb86fd
96 changed files with 102 additions and 102 deletions

View File

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