Commit ea461b78 authored by Thiago Macieira's avatar Thiago Macieira Committed by The Qt Project
Browse files

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: default avatarOlivier Goffart <ogoffart@woboq.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 051a0c79
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment