--- a/src/qtgui/searchclause_w.cpp
+++ b/src/qtgui/searchclause_w.cpp
@@ -36,10 +36,7 @@
SearchClauseW::SearchClauseW(QWidget* parent)
: QWidget(parent)
{
- searchClauseLayout = new QVBoxLayout(this);
-
- hLayout = new QHBoxLayout(0, 0, 3, "hLayout");
-
+ QHBoxLayout* hLayout = new QHBoxLayout(this, 0, 3);
sTpCMB = new QComboBox(FALSE, this, "sTpCMB");
hLayout->addWidget(sTpCMB);
@@ -49,7 +46,7 @@
wordsLE = new QLineEdit(this, "wordsLE");
wordsLE->setMinimumSize(QSize(250, 0));
hLayout->addWidget(wordsLE);
- searchClauseLayout->addLayout(hLayout);
+
languageChange();
resize(QSize(0, 0).expandedTo(minimumSizeHint()));