CVS commit by faure: Don't leave around mymbox.compacted when compaction fails (e.g. disk full), otherwise kmail treats it as a real mailbox on the next restart M +1 -0 compactionjob.cpp 1.9.6.1 --- kdepim/kmail/compactionjob.cpp #1.9:1.9.6.1 @@ -178,4 +178,5 @@ void MboxCompactionJob::done( int rc ) kdDebug(5006) << "Error occurred while compacting " << mbox->location() << endl; kdDebug(5006) << "Compaction aborted." << endl; + QFile::remove( mTempName ); } mErrorCode = rc;