mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 13:42:37 +00:00
Disable copy construction of QObject subclasses
This commit is contained in:
parent
6d167e9a28
commit
ddb9dfe185
@ -48,6 +48,7 @@ class PreviewListDelegate;
|
|||||||
class PreviewSelectDialog final : public QDialog
|
class PreviewSelectDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_DISABLE_COPY(PreviewSelectDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum PreviewColumn
|
enum PreviewColumn
|
||||||
|
@ -53,6 +53,7 @@ namespace Ui
|
|||||||
class AutomatedRssDownloader : public QDialog
|
class AutomatedRssDownloader : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_DISABLE_COPY(AutomatedRssDownloader)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AutomatedRssDownloader(QWidget *parent = nullptr);
|
explicit AutomatedRssDownloader(QWidget *parent = nullptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user