https://bugs.kde.org/show_bug.cgi?id=334218
--- Comment #5 from Martin Steigerwald <mar...@lichtvoll.de> --- Testing with: diff --git a/resources/maildir/libmaildir/maildir.cpp b/resources/maildir/libmaildir/maildir.cpp index 9bd3802..36166ed 100644 --- a/resources/maildir/libmaildir/maildir.cpp +++ b/resources/maildir/libmaildir/maildir.cpp @@ -106,12 +106,14 @@ public: QStringList listNew() const { QDir d( path + QString::fromLatin1( "/new" ) ); + d.setSorting(QDir::NoSort); return d.entryList( QDir::Files ); } QStringList listCurrent() const { QDir d( path + QString::fromLatin1( "/cur" ) ); + d.setSorting(QDir::NoSort); return d.entryList( QDir::Files ); } which disables QDir sorting which was so prominent in callgrind traces. I get the impression it helps the bit, but it does not seem to fix all of the performance issue. Need to take more time to check more thoroughly. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs