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