[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    PATCH for KLineEditDlg
From:       Joachim Ansorg <Jockel123 () gmx ! de>
Date:       2000-05-01 3:13:48
[Download RAW message or body]

Hi!

This is a small patch to fix a wrong connect(...) call.

--Joachim
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de

["klineeditdlg_patch.diff" (text/x-c++)]

--- klineeditdlg.cpp~	Thu Mar 30 01:07:07 2000
+++ klineeditdlg.cpp	Mon May  1 03:06:54 2000
@@ -47,7 +47,7 @@
   connect( edit, SIGNAL(returnPressed()), SLOT(accept()) );
   topLayout->addWidget( edit, 1 );
 
-  connect( this, SIGNAL(user1Clicked()), edit, SLOT(doClear()) );
+  connect( this, SIGNAL(user1Clicked()), this, SLOT(slotClear()) );
   edit->setText( _value );
   edit->setSelection(0, edit->text().length());
   edit->setFocus();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic