Commit 35f58f57 authored by Kevin Krammer's avatar Kevin Krammer
Browse files

Only use auto-expunge setting when migrating online IMAP account. Wasn't used for DIMAP

svn path=/trunk/KDE/kdepim/runtime/; revision=1196652
parent e3316767
......@@ -685,7 +685,9 @@ void KMailMigrator::migrateImapAccount( KJob *job, bool disconnected )
iface->setSieveAlternateUrl( config.readEntry( "sieve-alternate-url" ) );
iface->setSieveVacationFilename( config.readEntry( "sieve-vacation-filename", "kmail-vacation.siv" ) );
iface->setDisconnectedModeEnabled( disconnected );
iface->setAutomaticExpungeEnabled( config.readEntry("auto-expunge", true ) );
if ( !disconnected ) {
iface->setAutomaticExpungeEnabled( config.readEntry("auto-expunge", true ) );
}
const bool useDefaultIdentity = config.readEntry( "use-default-identity", true );
iface->setUseDefaultIdentity( useDefaultIdentity );
if ( !useDefaultIdentity )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment