diff options
| author | Christoph Feck <[email protected]> | 2010-06-26 00:33:25 +0000 |
|---|---|---|
| committer | Christoph Feck <[email protected]> | 2010-06-26 00:33:25 +0000 |
| commit | 97bff6c1f6f0f42d3b62c2994909188ccfe715c7 (patch) | |
| tree | b0749ac30a35a47b15c65fbf12ad27ed99b73b25 /src | |
| parent | 53c13ca2b5868f4ced4f3b4d282bfbc3f40d6d06 (diff) | |
Use the member variable
BUG: 241843
svn path=/trunk/KDE/kdebase/apps/; revision=1142897
Diffstat (limited to 'src')
| -rw-r--r-- | src/search/searchoptiondialogbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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")); |
