Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Add missing explicit

parent 6135d162
......@@ -136,7 +136,7 @@ class KompareListViewItemDelegate : public QStyledItemDelegate
Q_OBJECT
public:
KompareListViewItemDelegate( QObject* parent );
explicit KompareListViewItemDelegate(QObject* parent);
~KompareListViewItemDelegate() override;
void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
QSize sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
......@@ -246,7 +246,7 @@ private:
class KompareListViewBlankLineItem : public KompareListViewLineItem
{
public:
KompareListViewBlankLineItem( KompareListViewLineContainerItem* parent );
explicit KompareListViewBlankLineItem(KompareListViewLineContainerItem* parent);
protected:
void paintText( QPainter* p, const QColor& bg, int column, int width, int align ) override;
......
......@@ -30,7 +30,7 @@ class DIALOGPAGES_EXPORT FilesSettings : public SettingsBase
{
Q_OBJECT
public:
FilesSettings( QWidget* parent );
explicit FilesSettings(QWidget* parent);
~FilesSettings() override;
public:
......
......@@ -35,7 +35,7 @@ public:
static const QColor default_addColor;
static const QColor default_appliedColor;
ViewSettings( QWidget* parent );
explicit ViewSettings(QWidget* parent);
~ViewSettings() override;
public:
// some virtual functions that will be overloaded from the base class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment