summaryrefslogtreecommitdiff
path: root/src/plugins/designer
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-02-26 09:40:49 +0100
committerhjk <hjk@qt.io>2019-02-26 15:18:14 +0000
commit6f37348b4c9f00879787374672d42ca1d14083bc (patch)
tree6196c3674e82fb5ab00a07ade44c0a509d7dc164 /src/plugins/designer
parent44a42db1ae4460142185e429ff6b39e37d6e3623 (diff)
downloadqt-creator-6f37348b4c9f00879787374672d42ca1d14083bc.tar.gz
Replace static_casts by QOverload where possible
Mainly to get rid of the QProcess::finished deprecation warning. Also adjust coding style in the surrounding connects when needed. Change-Id: I12f9b248c7974b892c4a069356e578e80f8c59e9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r--src/plugins/designer/qtcreatorintegration.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/designer/qtcreatorintegration.cpp b/src/plugins/designer/qtcreatorintegration.cpp
index 9d3f9919a0..f8e9cf6642 100644
--- a/src/plugins/designer/qtcreatorintegration.cpp
+++ b/src/plugins/designer/qtcreatorintegration.cpp
@@ -86,8 +86,7 @@ QtCreatorIntegration::QtCreatorIntegration(QDesignerFormEditorInterface *core, Q
f &= ~ResourceEditorFeature;
setFeatures(f);
- connect(this, static_cast<void (QDesignerIntegrationInterface::*)
- (const QString&, const QString&, const QStringList&)>
+ connect(this, QOverload<const QString &, const QString &, const QStringList &>::of
(&QDesignerIntegrationInterface::navigateToSlot),
this, &QtCreatorIntegration::slotNavigateToSlot);
connect(this, &QtCreatorIntegration::helpRequested,