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
f8109d30
Commit
f8109d30
authored
May 12, 2021
by
Ömer Fadıl Usta
😊
Browse files
Static cast for vector's size method to int
parent
21760080
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/kateviewspace.cpp
View file @
f8109d30
...
...
@@ -641,7 +641,7 @@ void KateViewSpace::saveConfig(KConfigBase *config, int myIndex, const QString &
KConfigGroup
group
(
config
,
groupname
);
group
.
writeEntry
(
"Documents"
,
lruList
);
group
.
writeEntry
(
"Count"
,
views
.
size
());
group
.
writeEntry
(
"Count"
,
static_cast
<
int
>
(
views
.
size
())
)
;
if
(
currentView
())
{
group
.
writeEntry
(
"Active View"
,
currentView
()
->
document
()
->
url
().
toString
());
...
...
Write
Preview
Markdown
is supported
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