Gui: fix some important linting warnings:

* cppcoreguidelines-explicit-virtual-functions
* google-explicit-constructor
This commit is contained in:
wmayer
2023-10-12 10:53:41 +02:00
committed by wwmayer
parent e37e924b85
commit 552b1f48b1
7 changed files with 54 additions and 55 deletions

View File

@@ -364,7 +364,7 @@ namespace Gui {
class TreeWidgetItemDelegate: public QStyledItemDelegate {
typedef QStyledItemDelegate inherited;
public:
TreeWidgetItemDelegate(QObject* parent=0);
explicit TreeWidgetItemDelegate(QObject* parent=nullptr);
virtual QWidget* createEditor(QWidget *parent,
const QStyleOptionViewItem &, const QModelIndex &index) const;