mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
Disable copy construction of QObject subclasses
This commit is contained in:
parent
6d167e9a28
commit
ddb9dfe185
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue