Commit 9577b723 authored by loh tar's avatar loh tar Committed by Christoph Cullmann

KateSessionManager: Sort the jump list actions by time not alphabetical

Summary:
    This is certainly only a notable benefit when there are more sessions
    available than the limited count of entries. The drawback is that this
    way the (supposed expensive) update takes more often in effect.

Reviewers: #kate, cullmann

Reviewed By: #kate, cullmann

Subscribers: cullmann, kwrite-devel, #kate

Tags: #kate

Differential Revision: https://phabricator.kde.org/D16645
parent 74eda4bc
......@@ -84,7 +84,7 @@ void KateSessionManager::updateSessionList()
QStringList list;
// Let's get a list of all session we have atm
QDir dir(m_sessionsDir, QStringLiteral("*.katesession"));
QDir dir(m_sessionsDir, QStringLiteral("*.katesession"), QDir::Time);
for (unsigned int i = 0; i < dir.count(); ++i) {
QString name = dir[i];
......
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