Commit 6c9906ac authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use context here too

parent 53b1cca1
Pipeline #175910 passed with stage
in 10 minutes and 12 seconds
......@@ -20,9 +20,9 @@
ConfirmBeforeDeletingWidget::ConfirmBeforeDeletingWidget(QWidget *parent)
: QWidget(parent)
, mTreeWidget(new QTreeWidget(this))
, mAddRule(new QPushButton(i18n("Add Rule..."), this))
, mAddRule(new QPushButton(i18nc("@action:button", "Add Rule..."), this))
, mRemoveRule(new QPushButton(i18nc("@action:button", "Remove Rule"), this))
, mModifyRule(new QPushButton(i18n("Modify Rule..."), this))
, mModifyRule(new QPushButton(i18nc("@action:button", "Modify Rule..."), this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setContentsMargins({});
......
......@@ -54,9 +54,9 @@ MessageViewer::OpenWithUrlInfo OpenUrlWithConfigureItem::info() const
OpenUrlWithConfigureWidget::OpenUrlWithConfigureWidget(QWidget *parent)
: QWidget{parent}
, mListWidget(new QListWidget(this))
, mAddRule(new QPushButton(i18n("Add Rule..."), this))
, mAddRule(new QPushButton(i18nc("@action:button", "Add Rule..."), this))
, mRemoveRule(new QPushButton(i18nc("@action:button", "Remove Rule"), this))
, mModifyRule(new QPushButton(i18n("Modify Rule..."), this))
, mModifyRule(new QPushButton(i18nc("@action:button", "Modify Rule..."), this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
......
Supports Markdown
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