mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Disable copy construction of QObject subclasses
This commit is contained in:
@@ -48,6 +48,7 @@ class PreviewListDelegate;
|
||||
class PreviewSelectDialog final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PreviewSelectDialog)
|
||||
|
||||
public:
|
||||
enum PreviewColumn
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace Ui
|
||||
class AutomatedRssDownloader : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(AutomatedRssDownloader)
|
||||
|
||||
public:
|
||||
explicit AutomatedRssDownloader(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user