Commit 6527d714 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use autoraise

parent bafe266f
Pipeline #50253 passed with stage
in 53 minutes and 51 seconds
......@@ -29,6 +29,7 @@ GrammarResultWidget::GrammarResultWidget(QWidget *parent)
closeBtn->setIcon(QIcon::fromTheme(QStringLiteral("dialog-close")));
closeBtn->setIconSize(QSize(12, 12));
closeBtn->setToolTip(i18n("Close"));
closeBtn->setAutoRaise(true);
mExtraWidgetLayout->addWidget(closeBtn);
mExtraWidgetLayout->addStretch(1);
connect(closeBtn, &QToolButton::clicked, this, &GrammarResultWidget::closeChecker);
......
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