From bf1081a824d9024a400d2ac2437f169c6765caa5 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 3 Feb 2018 22:21:30 +0100 Subject: Fix all 'explicit constructor' krazy warnings --- src/panels/information/phononwidget.h | 2 +- src/panels/places/placesitemlistgroupheader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/panels') diff --git a/src/panels/information/phononwidget.h b/src/panels/information/phononwidget.h index 947f0cdac..eff613bd9 100644 --- a/src/panels/information/phononwidget.h +++ b/src/panels/information/phononwidget.h @@ -43,7 +43,7 @@ class PhononWidget : public QWidget { Q_OBJECT public: - PhononWidget(QWidget *parent = nullptr); + explicit PhononWidget(QWidget *parent = nullptr); void setUrl(const QUrl &url); QUrl url() const; diff --git a/src/panels/places/placesitemlistgroupheader.h b/src/panels/places/placesitemlistgroupheader.h index 4408aa9ef..727662241 100644 --- a/src/panels/places/placesitemlistgroupheader.h +++ b/src/panels/places/placesitemlistgroupheader.h @@ -27,7 +27,7 @@ class PlacesItemListGroupHeader : public KStandardItemListGroupHeader Q_OBJECT public: - PlacesItemListGroupHeader(QGraphicsWidget* parent = nullptr); + explicit PlacesItemListGroupHeader(QGraphicsWidget* parent = nullptr); ~PlacesItemListGroupHeader() override; protected: -- cgit v1.3