mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -42,6 +42,7 @@ namespace Ui
|
||||
class CookiesDialog final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(CookiesDialog)
|
||||
|
||||
public:
|
||||
explicit CookiesDialog(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user