Fix lupdate issues

Change-Id: If29cfaeb234b611d297d9b78087fd9355c69d86a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2025-02-12 14:26:31 +01:00
parent 03c446503e
commit f596a9f3d6
4 changed files with 5 additions and 4 deletions

View File

@@ -220,7 +220,7 @@ void CocoProjectWidget::clearMessageLabel()
m_messageLabel.setIconType(Utils::InfoLabel::None);
}
void Internal::CocoProjectWidget::onCoverageGroupBoxClicked()
void CocoProjectWidget::onCoverageGroupBoxClicked()
{
bool checked = m_coverageGroupBoxEnabled();

View File

@@ -3685,7 +3685,7 @@ void GitClient::addChangeActions(QMenu *menu, const FilePath &source, const QStr
menu->addAction(Tr::tr("C&heckout %1").arg(change), [workingDir, change] {
gitClient().checkout(workingDir, change);
});
menu->addAction(tr("Create &Branch from %1...").arg(change), [workingDir, change] {
menu->addAction(Tr::tr("Create &Branch from %1...").arg(change), [workingDir, change] {
const QStringList localBranches =
gitClient().synchronousRepositoryBranches(workingDir.toFSPathString());
BranchAddDialog dialog(localBranches, BranchAddDialog::Type::AddBranch,

View File

@@ -72,7 +72,7 @@ void SignalList::prepareDialog()
m_dialog = Utils::makeUniqueObjectPtr<SignalListDialog>(Core::ICore::dialogParent());
m_dialog->setAttribute(Qt::WA_DeleteOnClose);
m_dialog->initialize(m_model.get());
m_dialog->setWindowTitle(Tr::tr("Signal List for %1").arg(m_modelNode.validId()));
m_dialog->setWindowTitle(::QmlDesigner::Tr::tr("Signal List for %1").arg(m_modelNode.validId()));
auto delegate = m_dialog->signalListDelegate();
connect(delegate, &SignalListDelegate::connectClicked, this, &SignalList::connectClicked);

View File

@@ -1722,7 +1722,8 @@ Utils::FilePath findEffectFile(const ModelNode &effectNode)
QDirIterator::Subdirectories});
if (matches.isEmpty()) {
QMessageBox msgBox;
msgBox.setText(Tr::tr("Effect file %1 not found in the project.").arg(effectFile));
msgBox.setText(
::QmlDesigner::Tr::tr("Effect file %1 not found in the project.").arg(effectFile));
msgBox.setStandardButtons(QMessageBox::Ok);
msgBox.setDefaultButton(QMessageBox::Ok);
msgBox.setIcon(QMessageBox::Warning);