From: Christoph Feck Date: Sat, 26 Jun 2010 00:33:25 +0000 (+0000) Subject: Use the member variable X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/97bff6c1f6f0f42d3b62c2994909188ccfe715c7 Use the member variable BUG: 241843 svn path=/trunk/KDE/kdebase/apps/; revision=1142897 --- diff --git a/src/search/searchoptiondialogbox.cpp b/src/search/searchoptiondialogbox.cpp index 1abae35f6..b1d2a6d54 100644 --- a/src/search/searchoptiondialogbox.cpp +++ b/src/search/searchoptiondialogbox.cpp @@ -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"));