mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -40,6 +40,7 @@ namespace Ui
|
||||
class DeletionConfirmationDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(DeletionConfirmationDialog)
|
||||
|
||||
public:
|
||||
DeletionConfirmationDialog(QWidget *parent, int size, const QString &name, bool defaultDeleteFiles);
|
||||
|
||||
Reference in New Issue
Block a user