diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-03 16:40:05 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-05 10:26:08 +0200 |
commit | 13f0365a960538693ee4b52f9e02864d08845fae (patch) | |
tree | cea2924f8113152ff10bdc126ebe5a0c8d3c4f95 /src/designer/src/lib/sdk/abstractintegration.cpp | |
parent | fac0dcbeef6a0c23e780b9751c17883ec9918d6f (diff) |
Qt Designer: Introduce nullptr
Apply Fixits by Qt Creator with some amendments.
Change-Id: Idc948b1132fbb61c3ae6706b71659e2e8790fbc6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/sdk/abstractintegration.cpp')
-rw-r--r-- | src/designer/src/lib/sdk/abstractintegration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/designer/src/lib/sdk/abstractintegration.cpp b/src/designer/src/lib/sdk/abstractintegration.cpp index 788882cf0..84b3a67e2 100644 --- a/src/designer/src/lib/sdk/abstractintegration.cpp +++ b/src/designer/src/lib/sdk/abstractintegration.cpp @@ -326,7 +326,7 @@ QDesignerIntegrationPrivate::QDesignerIntegrationPrivate(QDesignerIntegration *q headerLowercase(true), m_features(QDesignerIntegrationInterface::DefaultFeature), m_resourceFileWatcherBehaviour(QDesignerIntegrationInterface::PromptToReloadResourceFile), - m_gradientManager(0) + m_gradientManager(nullptr) { } @@ -479,7 +479,7 @@ void QDesignerIntegrationPrivate::updateSelection() { QDesignerFormEditorInterface *core = q->core(); QDesignerFormWindowInterface *formWindow = core->formWindowManager()->activeFormWindow(); - QWidget *selection = 0; + QWidget *selection = nullptr; if (formWindow) { selection = formWindow->cursor()->current(); @@ -549,7 +549,7 @@ QObject *QDesignerIntegrationPrivate::propertyEditorObject() { if (QDesignerPropertyEditorInterface *propertyEditor = q->core()->propertyEditor()) return propertyEditor->object(); - return 0; + return nullptr; } // Load plugins into widget database and factory. @@ -761,7 +761,7 @@ void QDesignerIntegration::updateCustomWidgetPlugins() QDesignerResourceBrowserInterface *QDesignerIntegration::createResourceBrowser(QWidget *) { - return 0; + return nullptr; } QString QDesignerIntegration::contextHelpId() const |