[kmail2] [Bug 363085] kmail window fails to display/load on second start

via KDE Bugzilla bugzilla_noreply at kde.org
Fri May 20 21:24:53 BST 2016


https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #4 from blaze at vivaldi.net ---
This is the actual problematic piece of code

    KSharedConfig::Ptr config =  KMKernel::config();
    Akonadi::Collection trashCollection =
CommonKernel->trashCollectionFolder();
    if (trashCollection.isValid()) {
        if (KMailSettings::self()->emptyTrashOnExit()) {
            Akonadi::CollectionStatisticsJob *jobStatistics = new
Akonadi::CollectionStatisticsJob(trashCollection);
            if (jobStatistics->exec()) {
                if (jobStatistics->statistics().count() > 0) {
                    mFolderCollectionMonitor->expunge(trashCollection, true
/*sync*/);
                }
            }
        }
    }

from kmkernel.cpp file.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list