Gui: Single arg ctors must be explicit (PR #7369)

This commit is contained in:
berniev
2022-08-15 12:24:41 +10:00
committed by wmayer
parent c429473a4a
commit 3877fc62c3
122 changed files with 237 additions and 237 deletions

View File

@@ -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