Browse Source

Disable copy construction of QObject subclasses

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
ddb9dfe185
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 1
      src/gui/previewselectdialog.h
  2. 1
      src/gui/rss/automatedrssdownloader.h

1
src/gui/previewselectdialog.h

@ -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

1
src/gui/rss/automatedrssdownloader.h

@ -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…
Cancel
Save