forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
0138b73469
commit
a27d4e9455
@@ -61,6 +61,7 @@ using namespace ProjectExplorer;
|
|||||||
namespace {
|
namespace {
|
||||||
Q_LOGGING_CATEGORY(baseLog, "qtc.vcs.base")
|
Q_LOGGING_CATEGORY(baseLog, "qtc.vcs.base")
|
||||||
Q_LOGGING_CATEGORY(findRepoLog, "qtc.vcs.find-repo")
|
Q_LOGGING_CATEGORY(findRepoLog, "qtc.vcs.find-repo")
|
||||||
|
Q_LOGGING_CATEGORY(stateLog, "qtc.vcs.state")
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -326,6 +327,7 @@ void StateListener::slotStateChanged()
|
|||||||
if (!vc)
|
if (!vc)
|
||||||
state.clearPatchFile(); // Need a repository to patch
|
state.clearPatchFile(); // Need a repository to patch
|
||||||
|
|
||||||
|
qCDebug(stateLog).noquote() << "VC:" << (vc ? vc->displayName() : QString("None")) << state;
|
||||||
EditorManager::updateWindowTitles();
|
EditorManager::updateWindowTitles();
|
||||||
emit stateChanged(state, vc);
|
emit stateChanged(state, vc);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user