Commit def911b0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix window title

parent cfd771a3
Pipeline #55423 passed with stage
in 41 minutes and 59 seconds
......@@ -102,6 +102,7 @@ void RemoteContentConfigureWidget::modifyRemoteContent(RemoteContentWidgetItem *
return;
}
QPointer<RemoteContentDialog> dlg = new RemoteContentDialog(this);
dlg->setWindowTitle(i18nc("@title:window", "Edit Remote Content"));
RemoteContentInfo info;
info.setUrl(rulesItem->text(0));
info.setStatus(rulesItem->status());
......@@ -118,6 +119,7 @@ void RemoteContentConfigureWidget::modifyRemoteContent(RemoteContentWidgetItem *
void RemoteContentConfigureWidget::slotAdd()
{
QPointer<RemoteContentDialog> dlg = new RemoteContentDialog(this);
dlg->setWindowTitle(i18nc("@title:window", "Add Remote Content"));
if (dlg->exec()) {
const auto info = dlg->info();
const int count = mTreeWidget->topLevelItemCount();
......
......@@ -15,7 +15,6 @@ RemoteContentDialog::RemoteContentDialog(QWidget *parent)
: QDialog(parent)
, mRemoveContentWidget(new RemoteContentWidget(this))
{
setWindowTitle(i18nc("@title:window", "Edit Remote Content"));
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment