Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
cbe5a314
Commit
cbe5a314
authored
Dec 29, 2021
by
Volker Krause
Browse files
Adapt to QList::size returning qsizetype rather than in in Qt6
parent
6e15609b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/session/katesessionmanager.cpp
View file @
cbe5a314
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment