diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-10-12 08:49:01 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-10-13 16:36:50 +0000 |
commit | a27d4e9455fd0bd865a5b72f2ea3636ab5dfed6e (patch) | |
tree | e127c75c808ca1034c0483b71f01b35d7cd36a25 | |
parent | 0138b734694668d922ae0278d713bfb614e6fc40 (diff) |
VCS: Re-add state logging
Recovers logs that were removed in
05312bfeeccdc86fd51a4c5b8c9466337c40c36a.
Change-Id: I4f433795917ee331623ead8f465ef26f53bed229
Reviewed-by: André Hartmann <aha_1980@gmx.de>
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index dd5549f405..af2c5e753d 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -61,6 +61,7 @@ using namespace ProjectExplorer; namespace { Q_LOGGING_CATEGORY(baseLog, "qtc.vcs.base") Q_LOGGING_CATEGORY(findRepoLog, "qtc.vcs.find-repo") +Q_LOGGING_CATEGORY(stateLog, "qtc.vcs.state") } /*! @@ -326,6 +327,7 @@ void StateListener::slotStateChanged() if (!vc) state.clearPatchFile(); // Need a repository to patch + qCDebug(stateLog).noquote() << "VC:" << (vc ? vc->displayName() : QString("None")) << state; EditorManager::updateWindowTitles(); emit stateChanged(state, vc); } |