From 7b6e2d60cb24cb3799d94855bb4d5b524ef27cd8 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 11 Feb 2016 17:24:26 -0200 Subject: main(): minor reoganization in signal connections. --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index cf752a0..a124ac3 100644 --- a/main.cpp +++ b/main.cpp @@ -269,11 +269,11 @@ int main(int argc, char **argv) // Connect projection components to rewinding mechanism QObject::connect(plotTC, &TransitionControl::tChanged, &manipulationHandler, &ManipulationHandler::setRewind); - QObject::connect(&manipulationHandler, &ManipulationHandler::mapRewound, - m, &Main::updateMap); - QObject::connect(plotTC, &TransitionControl::tChanged, m->projectionObserver, &ProjectionObserver::setRewind); + + QObject::connect(&manipulationHandler, &ManipulationHandler::mapRewound, + m, &Main::updateMap); QObject::connect(m->projectionObserver, &ProjectionObserver::cpValuesRewound, m->cpPlot, &Scatterplot::setColorData); QObject::connect(m->projectionObserver, &ProjectionObserver::rpValuesRewound, -- cgit v1.2.3