summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 20:08:26 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-04 09:34:53 +0000
commitd832cfa7c3ba44b56a566a998c69f7436dee2581 (patch)
treee38a289eea7c6af575c7c2917b1272c3c7152d19
parent3ecebca8361030d0adeb65af21e77334ab91e481 (diff)
downloadqtwebkit-d832cfa7c3ba44b56a566a998c69f7436dee2581.tar.gz
Make more ctors explicit
Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: If2e979aa5772b8dc0b9a4a9360914740144d47a7 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r--Source/WebKit/qt/Api/qwebhistoryinterface.h2
-rw-r--r--Source/WebKit/qt/WidgetApi/qwebinspector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/qt/Api/qwebhistoryinterface.h b/Source/WebKit/qt/Api/qwebhistoryinterface.h
index 81186aa38..3038d22bd 100644
--- a/Source/WebKit/qt/Api/qwebhistoryinterface.h
+++ b/Source/WebKit/qt/Api/qwebhistoryinterface.h
@@ -29,7 +29,7 @@
class QWEBKIT_EXPORT QWebHistoryInterface : public QObject {
Q_OBJECT
public:
- QWebHistoryInterface(QObject *parent = Q_NULLPTR);
+ explicit QWebHistoryInterface(QObject *parent = Q_NULLPTR);
~QWebHistoryInterface();
static void setDefaultInterface(QWebHistoryInterface *defaultInterface);
diff --git a/Source/WebKit/qt/WidgetApi/qwebinspector.h b/Source/WebKit/qt/WidgetApi/qwebinspector.h
index 3fcb853f7..d6a4aad3c 100644
--- a/Source/WebKit/qt/WidgetApi/qwebinspector.h
+++ b/Source/WebKit/qt/WidgetApi/qwebinspector.h
@@ -30,7 +30,7 @@ class QWebInspectorPrivate;
class QWEBKITWIDGETS_EXPORT QWebInspector : public QWidget {
Q_OBJECT
public:
- QWebInspector(QWidget* parent = Q_NULLPTR);
+ explicit QWebInspector(QWidget* parent = Q_NULLPTR);
~QWebInspector();
void setPage(QWebPage* page);