Commit 4c108128 authored by dt's avatar dt
Browse files

Session Manager: mark sessionNameToFileName as const

Just some API cleanup
parent b735b433
......@@ -1024,7 +1024,7 @@ QStringList SessionManager::sessions() const
return m_sessions;
}
QString SessionManager::sessionNameToFileName(const QString &session)
QString SessionManager::sessionNameToFileName(const QString &session) const
{
return m_core->userResourcePath() + '/' + session + ".qws";
}
......
......@@ -179,7 +179,7 @@ private slots:
private:
bool loadImpl(const QString &fileName);
bool createImpl(const QString &fileName);
QString sessionNameToFileName(const QString &session);
QString sessionNameToFileName(const QString &session) const;
bool projectContainsFile(Project *p, const QString &fileName) const;
bool recursiveDependencyCheck(const QString &newDep, const QString &checkDep) const;
......
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