forked from qt-creator/qt-creator
Work on lambdas C++20 compatibility
Change-Id: I0d391c02ae1e1c5a1751b33ca7e83902e1cfe269 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2122,7 +2122,7 @@ void ProcessPrivate::setupDebugLog()
|
||||
return duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count();
|
||||
};
|
||||
|
||||
connect(q, &Process::starting, this, [=] {
|
||||
connect(q, &Process::starting, this, [this, now] {
|
||||
const quint64 msNow = now();
|
||||
setProperty(QTC_PROCESS_STARTTIME, msNow);
|
||||
|
||||
@@ -2135,7 +2135,7 @@ void ProcessPrivate::setupDebugLog()
|
||||
setProperty(QTC_PROCESS_NUMBER, currentNumber);
|
||||
});
|
||||
|
||||
connect(q, &Process::done, this, [=] {
|
||||
connect(q, &Process::done, this, [this, now] {
|
||||
if (!m_process.get())
|
||||
return;
|
||||
const QVariant n = property(QTC_PROCESS_NUMBER);
|
||||
|
||||
Reference in New Issue
Block a user