mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
remove old workaround; update copy of the code, even though in konqueror bug 247552 didn't happen because KonqMainWindow calls insertItems() every time, to add history entries.
svn path=/trunk/KDE/kdebase/apps/; revision=1164476
This commit is contained in:
parent
9977db1e99
commit
b4cea8e7a2
1 changed files with 2 additions and 4 deletions
|
@ -869,6 +869,8 @@ void KonqComboLineEdit::setCompletedItems( const QStringList& items, bool )
|
|||
const bool blocked = completionbox->blockSignals(true);
|
||||
completionbox->setCurrentItem(matchedItem);
|
||||
completionbox->blockSignals(blocked);
|
||||
} else {
|
||||
completionbox->setCurrentRow(-1);
|
||||
}
|
||||
}
|
||||
else { // completion box not visible yet -> show it
|
||||
|
@ -946,10 +948,6 @@ void KonqComboCompletionBox::setItems( const QStringList& items )
|
|||
sizeAndPosition();
|
||||
|
||||
blockSignals( block );
|
||||
|
||||
// Trigger d->down_workaround = true within KCompletionBox
|
||||
QStringList dummy;
|
||||
KCompletionBox::insertItems( dummy, 1 );
|
||||
}
|
||||
|
||||
void KonqComboCompletionBox::insertStringList( const QStringList & list, int index )
|
||||
|
|
Loading…
Reference in a new issue