From a27d4e9455fd0bd865a5b72f2ea3636ab5dfed6e Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 12 Oct 2018 08:49:01 +0300 Subject: [PATCH] VCS: Re-add state logging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recovers logs that were removed in 05312bfeeccdc86fd51a4c5b8c9466337c40c36a. Change-Id: I4f433795917ee331623ead8f465ef26f53bed229 Reviewed-by: André Hartmann --- src/plugins/vcsbase/vcsbaseplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index dd5549f405d..af2c5e753dc 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); }