Skip to content

Fix display of unstaged directories.

Previously, unstaged directories would be shown without the directory name. This commit fixes the bug by removing the trailing slash from the directory path before feeding it into prettyFileName. The root cause is that QUrl::fileName returns an empty string for paths with a trailing slash.

Merge request reports