Fix assert in CollectionFetchJob when cols is empty.

Review Request #128347 - Created July 2, 2016 and submitted

Information
David Faure
messagelib
master
Reviewers
kdepim
mlaurent
If Akonadi::PersistentSearchAttribute::queryCollections() returns
an empty list of collections, this code would assert.

Got an assert when clicking on "Open Search Folder" in the kmail search dialog (not sure if reproducible).

Laurent Montel
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b570e2793e27430adcf02a185cae62c017460a7b by David Faure to branch master.
Loading...