Commit 2f128207 authored by loh.tar's avatar loh.tar
Browse files

Stop watching what no one is interesting anymore

parent 70474ab9
......@@ -698,6 +698,8 @@ void KateProjectPluginView::slotHandleProjectClosing(KateProject *project)
m_projectsCombo->removeItem(index);
m_projectsComboGit->removeItem(index);
// Stop watching what no one is interesting anymore
m_gitChangedWatcher.removePath(project->baseDir() + QStringLiteral("/.git/index"));
// inform onward
Q_EMIT pluginProjectRemoved(project->baseDir(), project->name());
......
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