Commit a9578d95 authored by Giovana Vitor Dionisio Santana's avatar Giovana Vitor Dionisio Santana ✍🏾 Committed by Christoph Cullmann
Browse files

adding const keyword to variables'

parent 3002c2c3
......@@ -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));
......
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