VCS: Re-add state logging

Recovers logs that were removed in
05312bfeec.

Change-Id: I4f433795917ee331623ead8f465ef26f53bed229
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2018-10-12 08:49:01 +03:00
committed by Orgad Shaneh
parent 0138b73469
commit a27d4e9455

View File

@@ -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);
}