More refactor tidying

.. move signals to context from mainwindow
.. fix missed updates to aerolab and realtime plot
.. remove clutter from MainWindow.h
This commit is contained in:
Mark Liversedge
2013-07-14 11:23:06 +01:00
parent 9e875dd243
commit cf82d1b7a9
10 changed files with 14 additions and 30 deletions

View File

@@ -61,7 +61,7 @@ GoogleMapControl::GoogleMapControl(Context *context) : GcChartWindow(context), c
connect(view->page()->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()), this, SLOT(updateFrame()));
connect(context, SIGNAL(intervalsChanged()), webBridge, SLOT(intervalsChanged()));
connect(context, SIGNAL(intervalSelected()), webBridge, SLOT(intervalsChanged()));
connect(context->mainWindow, SIGNAL(intervalZoom(IntervalItem*)), this, SLOT(zoomInterval(IntervalItem*)));
connect(context, SIGNAL(intervalZoom(IntervalItem*)), this, SLOT(zoomInterval(IntervalItem*)));
first = true;
}