Commit cbe5a314 authored by Volker Krause's avatar Volker Krause
Browse files

Adapt to QList::size returning qsizetype rather than in in Qt6

parent 6e15609b
......@@ -595,7 +595,7 @@ void KateSessionManager::updateJumpListActions(const QStringList &sessionList)
newActions.end());
// Limit the number of list entries we like to offer
const int maxEntryCount = std::min(sessionList.count(), 10);
const int maxEntryCount = std::min<int>(sessionList.count(), 10);
// sessionList is ordered by time, but we like it alphabetical to avoid even more a needed update
QStringList sessionSubList = sessionList.mid(0, maxEntryCount);
......
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