Disable copy, move constructors when inheriting from QObject

This commit is contained in:
Chocobo1 2022-05-18 13:43:04 +08:00
parent 7764169aa3
commit c8b4611d8d
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
32 changed files with 48 additions and 10 deletions

View file

@ -46,6 +46,7 @@ namespace Ui
class RSSWidget : public QWidget
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(RSSWidget)
public:
RSSWidget(QWidget *parent);