diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-03 15:40:10 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-10 18:28:52 +0200 |
commit | 4a5a1ab7849bba6aed87132296c79ca9dba6d113 (patch) | |
tree | 399222737f1127c3cc28dd6331cf4e2da3d2cd22 /src/plugins | |
parent | f820e8f1993ca2a3e6808467cabca82e464f36e7 (diff) |
Replace Q_NULLPTR and pointer 0 with nullptr
Pick-to: 6.2
Change-Id: Ifd7acf49b22be1532ba98371982af4b14f08e6fc
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qwebengineview/qwebengineview_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qwebengineview/qwebengineview_plugin.h b/src/plugins/qwebengineview/qwebengineview_plugin.h index dd7d38a72..8c0960adc 100644 --- a/src/plugins/qwebengineview/qwebengineview_plugin.h +++ b/src/plugins/qwebengineview/qwebengineview_plugin.h @@ -64,7 +64,7 @@ class QWebEngineView : public QWidget { Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor) // Designable public: - explicit QWebEngineView(QWidget *parent = Q_NULLPTR) : QWidget(parent) {} + explicit QWebEngineView(QWidget *parent = nullptr) : QWidget(parent) {} QString title() const { return QString(); } QUrl url() const { return QUrl(); } @@ -84,7 +84,7 @@ class QWebEngineViewPlugin: public QObject, public QDesignerCustomWidgetInterfac Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface") Q_INTERFACES(QDesignerCustomWidgetInterface) public: - explicit QWebEngineViewPlugin(QObject *parent = Q_NULLPTR); + explicit QWebEngineViewPlugin(QObject *parent = nullptr); QString name() const override; QString group() const override; |