From c07156fa00565a093c684a7f4839891610a7b883 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Sat, 22 Oct 2011 19:39:04 +0100 Subject: [PATCH] Realtime controls honour colors The realtime control background now matches the rest of the realtime charts. This is a temporary measure before adding view specific controls on the toolbar (see feature request 492). --- src/TrainTool.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TrainTool.cpp b/src/TrainTool.cpp index 4566113c2..b6bbacfe8 100644 --- a/src/TrainTool.cpp +++ b/src/TrainTool.cpp @@ -19,6 +19,7 @@ #include "TrainTool.h" #include "MainWindow.h" #include "Settings.h" +#include "Colors.h" #include "Units.h" #include "DeviceTypes.h" #include "DeviceConfiguration.h" @@ -200,6 +201,7 @@ TrainTool::TrainTool(MainWindow *parent, const QDir &home) : GcWindow(parent), h void TrainTool::configChanged() { + setProperty("color", GColor(CRIDEPLOTBACKGROUND)); // SERVERS & DEVICES // zap whats there