mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kio: pass the matches list directly to KUrlCompletionPrivate::addMatches()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
db387cd314
commit
350056d016
1 changed files with 1 additions and 3 deletions
|
@ -801,10 +801,8 @@ bool KUrlCompletionPrivate::userCompletion(const KUrlCompletionPrivate::MyURL& u
|
||||||
|
|
||||||
// If the thread finishes quickly make sure that the results
|
// If the thread finishes quickly make sure that the results
|
||||||
// are added to the first matching case.
|
// are added to the first matching case.
|
||||||
|
|
||||||
userListThread->wait(200);
|
userListThread->wait(200);
|
||||||
const QStringList l = userListThread->matches();
|
addMatches(userListThread->matches());
|
||||||
addMatches(l);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*pMatch = finished();
|
*pMatch = finished();
|
||||||
|
|
Loading…
Add table
Reference in a new issue