mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Disable copy construction of QObject subclasses
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user