diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-14 13:59:52 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-14 12:07:33 +0000 |
commit | 6a3a9ad3f983f3daf5494b6f67bc6802cb252e51 (patch) | |
tree | 049c36a03e688497a999081bfa19a8c362101b01 /src/imports/platform | |
parent | 54de8921d0fb10ee6d554f13631d57b2f7bfdffe (diff) |
Platform dialogs: postpone the platform handle creation further
It is no longer necessary to force the creation when accessing the
handle, because all places where it is used have a fallback member.
Change-Id: I7051b79e12c48aff0065a5a478c9c6c0c3ad2559
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/platform')
-rw-r--r-- | src/imports/platform/qquickplatformdialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/imports/platform/qquickplatformdialog.cpp b/src/imports/platform/qquickplatformdialog.cpp index 68321554..dfb027f5 100644 --- a/src/imports/platform/qquickplatformdialog.cpp +++ b/src/imports/platform/qquickplatformdialog.cpp @@ -99,8 +99,6 @@ QQuickPlatformDialog::~QQuickPlatformDialog() QPlatformDialogHelper *QQuickPlatformDialog::handle() const { - if (!m_handle) - const_cast<QQuickPlatformDialog *>(this)->create(); return m_handle; } |