mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
UI Nits: remove reveal on 3d plot
.. it doesn't play nice with OpenGL and the dropdown disappears anyway. Fixes #488.
This commit is contained in:
@@ -57,24 +57,6 @@ ModelWindow::ModelWindow(MainWindow *parent, const QDir &home) :
|
||||
nodata = new QLabel(tr("No data or bin size too large."), this);
|
||||
nodata->hide();
|
||||
|
||||
//
|
||||
// reveal controls
|
||||
//
|
||||
rpresetLabel = new QLabel(tr("Analyse"), this);
|
||||
rpresetValues = new QComboBox;
|
||||
fillPresets(rpresetValues);
|
||||
rpresetValues->setCurrentIndex(1);
|
||||
|
||||
// layout reveal controls
|
||||
QHBoxLayout *r = new QHBoxLayout;
|
||||
r->setSpacing(4);
|
||||
r->setContentsMargins(0,0,0,0);
|
||||
r->addStretch();
|
||||
r->addWidget(rpresetLabel);
|
||||
r->addWidget(rpresetValues);
|
||||
r->addStretch();
|
||||
setRevealLayout(r);
|
||||
|
||||
// the plot widget
|
||||
QHBoxLayout *mainLayout = new QHBoxLayout;
|
||||
modelPlot= new ModelPlot(main, NULL);
|
||||
|
||||
Reference in New Issue
Block a user