summaryrefslogtreecommitdiff
path: root/src/plugins/scxmleditor/common/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scxmleditor/common/search.cpp')
-rw-r--r--src/plugins/scxmleditor/common/search.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/scxmleditor/common/search.cpp b/src/plugins/scxmleditor/common/search.cpp
index 34f2601733..b7b56295fd 100644
--- a/src/plugins/scxmleditor/common/search.cpp
+++ b/src/plugins/scxmleditor/common/search.cpp
@@ -47,9 +47,10 @@ Search::Search(QWidget *parent)
using namespace Layouting;
Column {
+ spacing(0),
m_searchEdit,
m_searchView,
- }.setSpacing(0).attachTo(this, WithoutMargins);
+ }.attachTo(this, WithoutMargins);
connect(m_searchEdit, &Utils::FancyLineEdit::textChanged, this, &Search::setSearchText);
connect(m_searchView, &TableView::pressed, this, &Search::rowActivated);