mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Use the member variable
BUG: 241843 svn path=/trunk/KDE/kdebase/apps/; revision=1142897
This commit is contained in:
parent
53c13ca2b5
commit
97bff6c1f6
1 changed files with 5 additions and 5 deletions
|
@ -30,14 +30,14 @@ SearchOptionDialogBox::SearchOptionDialogBox(QWidget* parent) :
|
|||
QWidget* container = new QWidget(this);
|
||||
|
||||
QLabel* label = new QLabel(i18nc("@label", "Name:"), container);
|
||||
KLineEdit* lineEdit = new KLineEdit(container);
|
||||
lineEdit->setMinimumWidth(250);
|
||||
lineEdit->setClearButtonShown(true);
|
||||
mLineEdit = new KLineEdit(container);
|
||||
mLineEdit->setMinimumWidth(250);
|
||||
mLineEdit->setClearButtonShown(true);
|
||||
|
||||
connect(lineEdit, SIGNAL(textChanged(const QString&)), SLOT(slotTextChanged(const QString&)));
|
||||
connect(mLineEdit, SIGNAL(textChanged(const QString&)), SLOT(slotTextChanged(const QString&)));
|
||||
QHBoxLayout* layout = new QHBoxLayout(container);
|
||||
layout->addWidget(label, Qt::AlignRight);
|
||||
layout->addWidget(lineEdit);
|
||||
layout->addWidget(mLineEdit);
|
||||
|
||||
setMainWidget(container);
|
||||
setCaption(i18nc("@title:window", "Save Search Options"));
|
||||
|
|
Loading…
Reference in a new issue