Commit 28feeca1 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

VcsManager: Add convenience signal for Vcs config changes



Change-Id: Iac7b80fca94eee428650f0a53af8c2c1c46e6f89
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent c5dfa1f2
...@@ -481,6 +481,9 @@ void VcsManager::configureVcs() ...@@ -481,6 +481,9 @@ void VcsManager::configureVcs()
void VcsManager::handleConfigurationChanges() void VcsManager::handleConfigurationChanges()
{ {
d->m_cachedAdditionalToolsPathsDirty = true; d->m_cachedAdditionalToolsPathsDirty = true;
IVersionControl *vcs = qobject_cast<IVersionControl *>(sender());
if (vcs)
emit configurationChanged(vcs);
} }
} // namespace Core } // namespace Core
......
...@@ -98,6 +98,7 @@ public: ...@@ -98,6 +98,7 @@ public:
signals: signals:
void repositoryChanged(const QString &repository); void repositoryChanged(const QString &repository);
void configurationChanged(const IVersionControl *vcs);
public slots: public slots:
static void clearVersionControlCache(); static void clearVersionControlCache();
......
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