[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/libkdepim
From: Till Adam <adam () kde ! org>
Date: 2005-04-10 11:59:30
Message-ID: 20050410115930.DB0BF495 () office ! kde ! org
[Download RAW message or body]
CVS commit by tilladam:
Backport of completion order fix from proko2.
M +1 -1 addresseelineedit.cpp 1.43
--- kdepim/libkdepim/addresseelineedit.cpp #1.42:1.43
@@ -553,5 +553,5 @@ void AddresseeLineEdit::addCompletionIte
// Check if there is an exact match for item already, and use the max weight if so.
// Since there's no way to get the information from KCompletion, we have to keep our own QMap
- CompletionItemsMap::iterator it = s_completionItemMap->begin();
+ CompletionItemsMap::iterator it = s_completionItemMap->find( string );
if ( it != s_completionItemMap->end() ) {
weight = QMAX( *it, weight );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic