diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-07-19 23:43:58 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-07-20 13:52:38 +0000 |
commit | e32ebe21468cdd10a7413db0a2a4ee165bdd9f05 (patch) | |
tree | f92f016eed8229ffbc917f645dd6319bcd7c5b36 /src/plugins/perfprofiler | |
parent | ae4db886f3b24dc0069d33cf55ba1365c70ccfe9 (diff) | |
download | qt-creator-e32ebe21468cdd10a7413db0a2a4ee165bdd9f05.tar.gz |
Drop Qt5: Various plugins: Get rid of QOverload
Change-Id: I4913044f8897fd3449dbb537e4af6785eb3ad447
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r-- | src/plugins/perfprofiler/perfdatareader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfdatareader.cpp b/src/plugins/perfprofiler/perfdatareader.cpp index 479ebe46b2..02726a8d3b 100644 --- a/src/plugins/perfprofiler/perfdatareader.cpp +++ b/src/plugins/perfprofiler/perfdatareader.cpp @@ -69,8 +69,7 @@ PerfDataReader::PerfDataReader(QObject *parent) : m_remoteProcessStart(std::numeric_limits<qint64>::max()), m_lastRemoteTimestamp(0) { - connect(&m_input, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), - this, [this](int exitCode) { + connect(&m_input, &QProcess::finished, this, [this](int exitCode) { emit processFinished(); // process any remaining input before signaling finished() readFromDevice(); |