[pim/pimcommon] src/pimcommonakonadi/ldap: Fix button size

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c1dd79f3e32630a34c7b80e917f2453510333385 by Laurent Montel.
Committed on 28/07/2026 at 20:38.
Pushed by mlaurent into branch 'master'.

Fix button size

M  +2    -0    src/pimcommonakonadi/ldap/ldapsearchdialog.cpp

https://invent.kde.org/pim/pimcommon/-/commit/c1dd79f3e32630a34c7b80e917f2453510333385

diff --git a/src/pimcommonakonadi/ldap/ldapsearchdialog.cpp b/src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
index e49e6550..1e8c04c3 100644
--- a/src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
+++ b/src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
@@ -543,9 +543,11 @@ LdapSearchDialog::LdapSearchDialog(QWidget *parent)
     KGuiItem::assign(d->mSearchButton, d->startSearchGuiItem);
 
     buttonSize = d->mSearchButton->sizeHint();
+    KGuiItem::assign(d->mSearchButton, d->stopSearchGuiItem);
     if (buttonSize.width() < d->mSearchButton->sizeHint().width()) {
         buttonSize = d->mSearchButton->sizeHint();
     }
+    KGuiItem::assign(d->mSearchButton, d->startSearchGuiItem);
     d->mSearchButton->setFixedWidth(buttonSize.width());
 
     d->mSearchButton->setDefault(true);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.