mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
* make pressing return in dirBox do startSearch() too (same as with nameBox and containingText)
* proper redirect the tabwidget's startSearch with the dialogs startSearch. This fixes the before unused connect(nameBox,SIGNAL(activated(int)) which got removed and makes using user3 not needed any longer cause we are handling returnPressed() direct now (same like it was done at containingText). svn path=/trunk/KDE/kdebase/apps/; revision=1196288
This commit is contained in:
parent
42d534c535
commit
e194f67ae1
2 changed files with 8 additions and 3 deletions
|
@ -79,8 +79,10 @@ KfindDlg::KfindDlg(const KUrl & url, QWidget *parent)
|
|||
vBox->addWidget(win, 1);
|
||||
vBox->addWidget(mStatusBar, 0);
|
||||
|
||||
connect(this, SIGNAL(user3Clicked()),
|
||||
this, SLOT(startSearch()));
|
||||
connect(tabWidget, SIGNAL(startSearch()),
|
||||
this, SLOT(startSearch()));
|
||||
//connect(this, SIGNAL(user3Clicked()),
|
||||
// this, SLOT(startSearch()));
|
||||
connect(this, SIGNAL(user2Clicked()),
|
||||
this, SLOT(stopSearch()));
|
||||
connect(this, SIGNAL(user1Clicked()),
|
||||
|
|
|
@ -166,9 +166,12 @@ KfindTabWidget::KfindTabWidget(QWidget *parent)
|
|||
connect( browseB, SIGNAL(clicked()),
|
||||
this, SLOT(getDirectory()) );
|
||||
|
||||
connect( nameBox, SIGNAL(activated(int)),
|
||||
connect( nameBox, SIGNAL(returnPressed()),
|
||||
this, SIGNAL(startSearch()));
|
||||
|
||||
connect( dirBox, SIGNAL(returnPressed()),
|
||||
this, SIGNAL(startSearch()));
|
||||
|
||||
// ************ Page Two
|
||||
|
||||
pages[1] = new QWidget;
|
||||
|
|
Loading…
Reference in a new issue