]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use the member variable
authorChristoph Feck <christoph@maxiom.de>
Sat, 26 Jun 2010 00:33:25 +0000 (00:33 +0000)
committerChristoph Feck <christoph@maxiom.de>
Sat, 26 Jun 2010 00:33:25 +0000 (00:33 +0000)
BUG: 241843

svn path=/trunk/KDE/kdebase/apps/; revision=1142897

src/search/searchoptiondialogbox.cpp

index 1abae35f6a5fd4d5c87a125a3a1e42f08646c966..b1d2a6d54958bb96fad3453ec6740aab2d2a810c 100644 (file)
@@ -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"));