mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -42,10 +42,11 @@ namespace BitTorrent
|
||||
|
||||
class PiecesBar : public QWidget
|
||||
{
|
||||
using base = QWidget;
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(PiecesBar)
|
||||
|
||||
using base = QWidget;
|
||||
|
||||
public:
|
||||
explicit PiecesBar(QWidget *parent = nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user