mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
Disable copy, move constructors when inheriting from QObject
This commit is contained in:
@@ -32,10 +32,11 @@
|
||||
|
||||
class PieceAvailabilityBar final : public PiecesBar
|
||||
{
|
||||
using base = PiecesBar;
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(PieceAvailabilityBar)
|
||||
|
||||
using base = PiecesBar;
|
||||
|
||||
public:
|
||||
PieceAvailabilityBar(QWidget *parent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user