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