mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 19:42:45 +01:00
ScreenPlay Q_DISABLE_COPY_MOVE() macro fix
This commit is contained in:
parent
736f2e7f7f
commit
355beb1bd5
@ -45,8 +45,10 @@ public:
|
||||
MonitorListModel* mlm, SDKConnector* sdkc,
|
||||
QObject* parent = nullptr);
|
||||
|
||||
// copy and move disable(for now) : remember rule of 1/3/5
|
||||
Q_DISABLE_COPY_MOVE(ScreenPlay)
|
||||
// copy and move disabled(for now) : remember rule of 1/3/5
|
||||
Q_DISABLE_COPY(ScreenPlay)
|
||||
ScreenPlay(ScreenPlay&&) = delete;
|
||||
ScreenPlay& operator=(ScreenPlay&&) = delete;
|
||||
|
||||
// destructor
|
||||
~ScreenPlay();
|
||||
|
@ -37,7 +37,9 @@ public:
|
||||
const QString& type, ScreenPlay* parent = nullptr);
|
||||
|
||||
// copy and move disable(for now) : remember rule of 1/3/5
|
||||
Q_DISABLE_COPY_MOVE(ScreenPlayWallpaper)
|
||||
Q_DISABLE_COPY(ScreenPlayWallpaper)
|
||||
ScreenPlayWallpaper(ScreenPlayWallpaper&& rhs);
|
||||
ScreenPlayWallpaper& operator=(ScreenPlayWallpaper&& rhs);
|
||||
|
||||
// destructor
|
||||
~ScreenPlayWallpaper();
|
||||
|
@ -32,7 +32,10 @@ public:
|
||||
const QString& fullPath, ScreenPlay* parent = nullptr);
|
||||
|
||||
// copy and move disable(for now) : remember rule of 1/3/5
|
||||
Q_DISABLE_COPY_MOVE(ScreenPlayWidget)
|
||||
//Q_DISABLE_COPY_MOVE(ScreenPlayWidget)
|
||||
Q_DISABLE_COPY(ScreenPlayWidget)
|
||||
ScreenPlayWidget(ScreenPlayWidget&&) = delete;
|
||||
ScreenPlayWidget& operator=(ScreenPlayWidget&&) = delete;
|
||||
|
||||
// destructor
|
||||
~ScreenPlayWidget();
|
||||
|
Loading…
Reference in New Issue
Block a user