mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -41,6 +41,7 @@ namespace Ui
|
||||
class ShutdownConfirmDialog final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(ShutdownConfirmDialog)
|
||||
|
||||
public:
|
||||
ShutdownConfirmDialog(QWidget *parent, const ShutdownDialogAction &action);
|
||||
|
||||
Reference in New Issue
Block a user