forked from qt-creator/qt-creator
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:
@@ -220,7 +220,7 @@ void CocoProjectWidget::clearMessageLabel()
|
|||||||
m_messageLabel.setIconType(Utils::InfoLabel::None);
|
m_messageLabel.setIconType(Utils::InfoLabel::None);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Internal::CocoProjectWidget::onCoverageGroupBoxClicked()
|
void CocoProjectWidget::onCoverageGroupBoxClicked()
|
||||||
{
|
{
|
||||||
bool checked = m_coverageGroupBoxEnabled();
|
bool checked = m_coverageGroupBoxEnabled();
|
||||||
|
|
||||||
|
@@ -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] {
|
menu->addAction(Tr::tr("C&heckout %1").arg(change), [workingDir, change] {
|
||||||
gitClient().checkout(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 =
|
const QStringList localBranches =
|
||||||
gitClient().synchronousRepositoryBranches(workingDir.toFSPathString());
|
gitClient().synchronousRepositoryBranches(workingDir.toFSPathString());
|
||||||
BranchAddDialog dialog(localBranches, BranchAddDialog::Type::AddBranch,
|
BranchAddDialog dialog(localBranches, BranchAddDialog::Type::AddBranch,
|
||||||
|
@@ -72,7 +72,7 @@ void SignalList::prepareDialog()
|
|||||||
m_dialog = Utils::makeUniqueObjectPtr<SignalListDialog>(Core::ICore::dialogParent());
|
m_dialog = Utils::makeUniqueObjectPtr<SignalListDialog>(Core::ICore::dialogParent());
|
||||||
m_dialog->setAttribute(Qt::WA_DeleteOnClose);
|
m_dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
m_dialog->initialize(m_model.get());
|
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();
|
auto delegate = m_dialog->signalListDelegate();
|
||||||
connect(delegate, &SignalListDelegate::connectClicked, this, &SignalList::connectClicked);
|
connect(delegate, &SignalListDelegate::connectClicked, this, &SignalList::connectClicked);
|
||||||
|
@@ -1722,7 +1722,8 @@ Utils::FilePath findEffectFile(const ModelNode &effectNode)
|
|||||||
QDirIterator::Subdirectories});
|
QDirIterator::Subdirectories});
|
||||||
if (matches.isEmpty()) {
|
if (matches.isEmpty()) {
|
||||||
QMessageBox msgBox;
|
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.setStandardButtons(QMessageBox::Ok);
|
||||||
msgBox.setDefaultButton(QMessageBox::Ok);
|
msgBox.setDefaultButton(QMessageBox::Ok);
|
||||||
msgBox.setIcon(QMessageBox::Warning);
|
msgBox.setIcon(QMessageBox::Warning);
|
||||||
|
Reference in New Issue
Block a user