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