forked from qt-creator/qt-creator
ProjectExplorer: Fix translation issues
Add missing Q_OBJECT macro, use sensible contexts, and use "simpler" namespace resolution (for QTBUG-64007) Change-Id: I2417a7a40e8ba0ff4bfdff34d2a4c57d8dcdeb00 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
68589a3fbc
commit
19bb8e34f8
@@ -988,9 +988,9 @@ void RunControlPrivate::onWorkerStarted(RunWorker *worker)
|
||||
continueStart();
|
||||
return;
|
||||
}
|
||||
showError(tr("Unexpected run control state %1 when worker %2 started.")
|
||||
.arg(stateName(state))
|
||||
.arg(worker->d->id));
|
||||
showError(RunControl::tr("Unexpected run control state %1 when worker %2 started.")
|
||||
.arg(stateName(state))
|
||||
.arg(worker->d->id));
|
||||
}
|
||||
|
||||
void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg)
|
||||
@@ -1576,14 +1576,14 @@ void RunWorkerPrivate::timerEvent(QTimerEvent *ev)
|
||||
if (startWatchdogCallback)
|
||||
startWatchdogCallback();
|
||||
else
|
||||
q->reportFailure(tr("Worker start timed out."));
|
||||
q->reportFailure(RunWorker::tr("Worker start timed out."));
|
||||
return;
|
||||
}
|
||||
if (ev->timerId() == stopWatchdogTimerId) {
|
||||
if (stopWatchdogCallback)
|
||||
stopWatchdogCallback();
|
||||
else
|
||||
q->reportFailure(tr("Worker stop timed out."));
|
||||
q->reportFailure(RunWorker::tr("Worker stop timed out."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user