aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-03-24 11:30:10 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-03-24 11:43:09 +0100
commitda5becb0b37f36f85c0ed59226d1f8b4bbce2715 (patch)
treea629501c51a6e25e49141644ab1fbc57ed955aea /src/qmldebug
parentcccc6591863097b87180d57feca036fcbe2582e4 (diff)
Remove mindless cast, 'errorOccurred' was never ambiguous
Task-number: QTBUG-82605 Change-Id: I67b7088b97ebbf7cfef7a21a3987de7f8810b12c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/qmldebug')
-rw-r--r--src/qmldebug/qqmldebugconnection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qmldebug/qqmldebugconnection.cpp b/src/qmldebug/qqmldebugconnection.cpp
index ed11bd46db..b32ecc3d06 100644
--- a/src/qmldebug/qqmldebugconnection.cpp
+++ b/src/qmldebug/qqmldebugconnection.cpp
@@ -415,8 +415,7 @@ public:
{
connect(parent, &QLocalSocket::stateChanged,
this, &LocalSocketSignalTranslator::onStateChanged);
- connect(parent, static_cast<void(QLocalSocket::*)(QLocalSocket::LocalSocketError)>(
- &QLocalSocket::errorOccurred), this, &LocalSocketSignalTranslator::onError);
+ connect(parent, &QLocalSocket::errorOccurred, this, &LocalSocketSignalTranslator::onError);
}
void onError(QLocalSocket::LocalSocketError error)