Translations: Call Tr::tr() where it should

Change-Id: Ibf2be8a9aabd0a4e8e763a96901feaaa6eda2f3e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2023-06-09 13:33:02 +02:00
parent 005a26d0ae
commit 50c386b53a
4 changed files with 7 additions and 4 deletions

View File

@@ -455,7 +455,7 @@ void TestRunner::runTestsHelper()
connect(m_taskTree.get(), &TaskTree::errorOccurred, this, &TestRunner::onFinished);
auto progress = new TaskProgress(m_taskTree.get());
progress->setDisplayName(tr("Running Tests"));
progress->setDisplayName(Tr::tr("Running Tests"));
progress->setAutoStopOnCancel(false);
progress->setHalfLifeTimePerTask(10000); // 10 seconds
connect(progress, &TaskProgress::canceled, this, [this, progress] {