Show source filename where possible. Not including path.

This commit is contained in:
Ernie Pasveer
2022-02-28 20:49:34 -06:00
parent dc3024568e
commit 693fa4a96e
8 changed files with 25 additions and 19 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ void SeerSourceBrowserWidget::handleText (const QString& text) {
// Add the file to the tree.
QTreeWidgetItem* item = new QTreeWidgetItem;
item->setText(0, file_text);
item->setText(0, QFileInfo(file_text).fileName());
item->setText(1, fullname_text);
/* Why have this?