Add a full name to DoubleTabWidget

The fullname is used if the name is not unique

Task-Nr: QTCREATORBUG-2113

Reviewed-By: con

Squash
This commit is contained in:
dt
2011-03-29 17:22:44 +02:00
parent f23679f588
commit 1bdaf934e0
3 changed files with 55 additions and 12 deletions

View File

@@ -349,7 +349,7 @@ void ProjectWindow::registerProject(ProjectExplorer::Project *project)
}
m_tabIndexToProject.insert(index, project);
m_tabWidget->insertTab(index, project->displayName(), subtabs);
m_tabWidget->insertTab(index, project->displayName(), project->file()->fileName(), subtabs);
}
void ProjectWindow::deregisterProject(ProjectExplorer::Project *project)