forked from qt-creator/qt-creator
Welcome Screen: Fix regressions
- last session / current session semantics is back - Manage Sessions... button is back This commit changes the behaviour of currentSession() to return the session name and not the full path. SessionNodeImpl as the other user has been adjusted accordingly. Change-Id: I1dcfbef2fb4dacf3e3906871d816483c2bfb76da Reviewed-on: http://codereview.qt.nokia.com/1461 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
fd9232fca2
commit
22d6dfa45a
@@ -834,7 +834,7 @@ void SessionManager::configureEditor(Core::IEditor *editor, const QString &fileN
|
||||
|
||||
QString SessionManager::currentSession() const
|
||||
{
|
||||
return m_file->fileName();
|
||||
return QFileInfo(m_file->fileName()).completeBaseName();
|
||||
}
|
||||
|
||||
void SessionManager::updateWindowTitle()
|
||||
|
||||
Reference in New Issue
Block a user