Manually port SVN commit 852838 by tmcguire from trunk. Note to self: Block in e4->trunk
Manually port SVN commit 852838 by tmcguire from trunk.
Note to self: Block in e4->trunk

Don't crash when there is no search folder yet.

svn path=/branches/kdepim/enterprise4/kdepim/; revision=855292

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi