Fix for non-latin1 users : -  config.writeEntry("Folder", mFolder ? (const char*)mFolder->name() : ""); +  config.writeEntry("Folder", mFolder ? mFolder->name() : QString::null); Repeat after me: casts suck. Since this is read as a QString, it should be written as a QString.
Fix for non-latin1 users :
-  config.writeEntry("Folder", mFolder ? (const char*)mFolder->name() : "");
+  config.writeEntry("Folder", mFolder ? mFolder->name() : QString::null);
Repeat after me: casts suck. Since this is read as a QString, it should
be written as a QString.

svn path=/trunk/kdenetwork/kmail/; revision=71769

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