aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pluginview/plugindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/pluginview/plugindialog.cpp')
-rw-r--r--tests/manual/pluginview/plugindialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/pluginview/plugindialog.cpp b/tests/manual/pluginview/plugindialog.cpp
index 460411dc7eb..d1ed1d906d7 100644
--- a/tests/manual/pluginview/plugindialog.cpp
+++ b/tests/manual/pluginview/plugindialog.cpp
@@ -30,15 +30,15 @@ PluginDialog::PluginDialog()
vl->addLayout(hl);
hl->setContentsMargins(0, 0, 0, 0);
hl->setSpacing(6);
- m_detailsButton = new QPushButton(tr("Details"), this);
- m_errorDetailsButton = new QPushButton(tr("Error Details"), this);
+ m_detailsButton = new QPushButton("Details", this);
+ m_errorDetailsButton = new QPushButton("Error Details", this);
m_detailsButton->setEnabled(false);
m_errorDetailsButton->setEnabled(false);
hl->addWidget(m_detailsButton);
hl->addWidget(m_errorDetailsButton);
hl->addStretch(5);
resize(650, 300);
- setWindowTitle(tr("Installed Plugins"));
+ setWindowTitle("Installed Plugins");
connect(m_view, &ExtensionSystem::PluginView::currentPluginChanged,
this, &PluginDialog::updateButtons);
@@ -69,7 +69,7 @@ void PluginDialog::openDetails(ExtensionSystem::PluginSpec *spec)
return;
}
QDialog dialog(this);
- dialog.setWindowTitle(tr("Plugin Details of %1").arg(spec->name()));
+ dialog.setWindowTitle(QString("Plugin Details of %1").arg(spec->name()));
QVBoxLayout *layout = new QVBoxLayout;
dialog.setLayout(layout);
ExtensionSystem::PluginDetailsView *details = new ExtensionSystem::PluginDetailsView(&dialog);
@@ -89,7 +89,7 @@ void PluginDialog::openErrorDetails()
if (!spec)
return;
QDialog dialog(this);
- dialog.setWindowTitle(tr("Plugin Errors of %1").arg(spec->name()));
+ dialog.setWindowTitle(QString("Plugin Errors of %1").arg(spec->name()));
QVBoxLayout *layout = new QVBoxLayout;
dialog.setLayout(layout);
ExtensionSystem::PluginErrorView *errors = new ExtensionSystem::PluginErrorView(&dialog);