forward port 518857 by winterz:
forward port 518857 by winterz:

Thiago's patch to fix the problem of duplicate "inbox" folders for online imap.

Not closing #123563 because this patch does not fix the same problem
for disconnected imap.


svn path=/trunk/KDE/kdepim/; revision=518863

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