summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-05-04 08:33:09 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-10 03:45:33 +0200
commitea461b7800a5d33e570329bedd9d9340d4577df5 (patch)
treec12abec34fbc0bce8a603835a976c15931d66b2a /src/corelib
parent051a0c794b050564c31d320861a87de2be55c1db (diff)
QProcess: leave a warning about the signal with overload, for Qt 6
You can't write: connect(proc, &QProcess::finished, [](){}); because of the overload. Change-Id: I651cc56ee15481392590dc44942d8e814fad75f6 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qprocess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index 29adf37f74..9da3e63f38 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -219,7 +219,7 @@ Q_SIGNALS:
QPrivateSignal
#endif
);
- void finished(int exitCode);
+ void finished(int exitCode); // ### Qt 6: merge the two signals with a default value
void finished(int exitCode, QProcess::ExitStatus exitStatus);
void error(QProcess::ProcessError error);
void stateChanged(QProcess::ProcessState state