Removed TC state code from insight and debug server components

This commit is contained in:
Nav
2023-05-25 22:43:49 +01:00
parent 3540228f6d
commit 9475a80cd0
7 changed files with 0 additions and 80 deletions

View File

@@ -260,18 +260,6 @@ namespace Bloom
// InsightSignal connections
auto* insightSignals = InsightSignals::instance();
QObject::connect(
insightSignals,
&InsightSignals::targetControllerSuspended,
this,
&InsightWindow::onTargetControllerSuspended
);
QObject::connect(
insightSignals,
&InsightSignals::targetControllerResumed,
this,
&InsightWindow::onTargetControllerResumed
);
QObject::connect(
insightSignals,
&InsightSignals::targetStateUpdated,
@@ -905,19 +893,6 @@ namespace Bloom
);
}
void InsightWindow::onTargetControllerSuspended() {
if (this->activated) {
this->deactivate();
}
}
void InsightWindow::onTargetControllerResumed(const TargetDescriptor& targetDescriptor) {
if (!this->activated) {
this->targetDescriptor = targetDescriptor;
this->activate();
}
}
void InsightWindow::onTargetStateUpdate(TargetState newState) {
this->targetState = newState;

View File

@@ -128,8 +128,6 @@ namespace Bloom
void adjustPanels();
void adjustMinimumSize();
void onTargetControllerSuspended();
void onTargetControllerResumed(const Bloom::Targets::TargetDescriptor& targetDescriptor);
void onTargetStateUpdate(Targets::TargetState newState);
void refresh();
void refreshPinStates();