Skip to content
GitLab
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
a9578d95
Commit
a9578d95
authored
Feb 12, 2022
by
Giovana Santana
✍🏾
Committed by
Christoph Cullmann
Mar 11, 2022
Browse files
adding const keyword to variables'
parent
3002c2c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/kateprojectplugin.cpp
View file @
a9578d95
...
...
@@ -579,9 +579,9 @@ void KateProjectPlugin::unregisterVariables()
void
KateProjectPlugin
::
readSessionConfig
(
const
KConfigGroup
&
config
)
{
QStringList
projectList
=
config
.
readEntry
(
"projects"
,
QStringList
());
const
QStringList
projectList
=
config
.
readEntry
(
"projects"
,
QStringList
());
for
(
QString
project
:
projectList
)
{
for
(
const
QString
project
:
projectList
)
{
std
::
cout
<<
project
.
toStdString
()
<<
std
::
endl
;
KateProject
*
pProject
=
createProjectForDirectory
(
QDir
(
project
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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