mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
avoid duplicate entries in konqueror address completion list
history list is added to completion list giving duplicates. Avoid this by removing duplicates BUG: 144751 FIXED-IN: 4.9.1
This commit is contained in:
parent
199fabbaa8
commit
7d1f76d3d7
1 changed files with 1 additions and 0 deletions
|
@ -3177,6 +3177,7 @@ void KonqMainWindow::slotMatch( const QString &match )
|
|||
m_combo->completionMode() == KGlobalSettings::CompletionPopupAuto ) {
|
||||
QStringList items = m_pURLCompletion->allMatches();
|
||||
items += historyPopupCompletionItems( m_combo->currentText() );
|
||||
items.removeDuplicates(); // when items from completion are also in history
|
||||
// items.sort(); // should we?
|
||||
m_combo->setCompletedItems( items );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue