1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-13 05:41:17 +00:00

Disable copy construction of QObject subclasses

This commit is contained in:
Chocobo1 2020-04-29 21:23:54 +08:00
parent 6d167e9a28
commit ddb9dfe185
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class PreviewListDelegate;
class PreviewSelectDialog final : public QDialog
{
Q_OBJECT
Q_DISABLE_COPY(PreviewSelectDialog)
public:
enum PreviewColumn

View File

@ -53,6 +53,7 @@ namespace Ui
class AutomatedRssDownloader : public QDialog
{
Q_OBJECT
Q_DISABLE_COPY(AutomatedRssDownloader)
public:
explicit AutomatedRssDownloader(QWidget *parent = nullptr);