Commit 8e0fb8ba authored by dt's avatar dt

Fixes: Show projectname not filename in the Project Mode

parent 84ce2e5b
......@@ -205,7 +205,7 @@ void ProjectWindow::updateTreeWidgetProjectAdded(ProjectExplorer::Project *proje
const QFileInfo fileInfo(projectAdded->file()->fileName());
QTreeWidgetItem *item = new QTreeWidgetItem();
item->setText(0, fileInfo.baseName());
item->setText(0, projectAdded->name());
item->setIcon(0, Core::FileIconProvider::instance()->icon(fileInfo));
item->setText(2, fileInfo.filePath());
......
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