mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Disable move constructor where it is sensible
This commit is contained in:
@@ -42,7 +42,7 @@ namespace RSS
|
||||
class Article : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Article)
|
||||
Q_DISABLE_COPY_MOVE(Article)
|
||||
|
||||
friend class Feed;
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace RSS
|
||||
class AutoDownloader final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(AutoDownloader)
|
||||
Q_DISABLE_COPY_MOVE(AutoDownloader)
|
||||
|
||||
friend class ::Application;
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace RSS
|
||||
class Feed final : public Item
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Feed)
|
||||
Q_DISABLE_COPY_MOVE(Feed)
|
||||
|
||||
friend class Session;
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace RSS
|
||||
class Folder final : public Item
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Folder)
|
||||
Q_DISABLE_COPY_MOVE(Folder)
|
||||
|
||||
friend class Session;
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace RSS
|
||||
class Item : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Item)
|
||||
Q_DISABLE_COPY_MOVE(Item)
|
||||
|
||||
friend class Folder;
|
||||
friend class Session;
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace RSS
|
||||
class Session : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Session)
|
||||
Q_DISABLE_COPY_MOVE(Session)
|
||||
|
||||
friend class ::Application;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user