Allow to translate checkbox text

Change-Id: Ib1fdf79293f094015655bb6fb2798c780513a846
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Montel Laurent
2017-02-21 12:24:22 +01:00
committed by Thomas Hartmann
parent 0c0b004493
commit 58282bdab3

View File

@@ -63,7 +63,7 @@ DocumentWarningWidget::DocumentWarningWidget(QWidget *parent)
m_messageLabel->setForegroundRole(QPalette::ToolTipText);
m_messageLabel->setWordWrap(true);
m_ignoreWarningsCheckBox->setText("Ignore always these unsupported Qt Quick Designer warnings.");
m_ignoreWarningsCheckBox->setText(tr("Ignore always these unsupported Qt Quick Designer warnings."));
connect(m_navigateLabel, &QLabel::linkActivated, this, [=](const QString &link) {
if (link == QLatin1String("goToCode")) {