Gui: Single arg ctors must be explicit (PR #7369)
This commit is contained in:
@@ -52,7 +52,7 @@ using namespace Gui::Dialog;
|
||||
|
||||
class ItemDelegate: public QStyledItemDelegate {
|
||||
public:
|
||||
ItemDelegate(QObject* parent=nullptr): QStyledItemDelegate(parent) {}
|
||||
explicit ItemDelegate(QObject* parent=nullptr): QStyledItemDelegate(parent) {}
|
||||
|
||||
QWidget* createEditor(QWidget *parent,
|
||||
const QStyleOptionViewItem &option, const QModelIndex &index) const override
|
||||
|
||||
Reference in New Issue
Block a user