Commit f31132ae authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Dont add empty path to QFileSystemWatcher

parent f6084b80
Pipeline #218931 passed with stage
in 22 minutes and 45 seconds
......@@ -791,7 +791,10 @@ void KateProjectPluginView::slotUpdateStatus(bool visible)
if (auto widget = static_cast<GitWidget *>(m_stackedGitViews->currentWidget())) {
// To support separate-git-dir always use dotGitPath
// We need to add the path every time again because it's always a different file
const auto path = widget->indexPath();
if (!path.isEmpty()) {
Supports Markdown
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