mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 17:39:58 +00:00
3d plot honour background color
.. it already had plot background just needed to honour for the frame too. .. also fixed default empty window to use correct colors.
This commit is contained in:
@@ -164,6 +164,16 @@ ModelWindow::ModelWindow(Context *context, const QDir &home) :
|
||||
connect(binWidthLineEdit, SIGNAL(editingFinished()), this, SLOT(setBinWidthFromLineEdit()));
|
||||
//connect(resetView, SIGNAL(clicked()), this, SLOT(resetViewPoint()));
|
||||
connect(zpane, SIGNAL(valueChanged(int)), this, SLOT(setZPane(int)));
|
||||
connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));
|
||||
|
||||
// set colors on first run
|
||||
configChanged();
|
||||
}
|
||||
|
||||
void
|
||||
ModelWindow::configChanged()
|
||||
{
|
||||
setProperty("color", GColor(CPLOTBACKGROUND));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user