mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
fix uninitialized 'ride' variable in ModelWindow
This commit is contained in:
@@ -46,7 +46,8 @@ ModelWindow::addStandardChannels(QComboBox *box)
|
||||
//box->addItem(tr("Longitude"), MODEL_LONG); //XXX weird values make the plot ugly
|
||||
}
|
||||
|
||||
ModelWindow::ModelWindow(MainWindow *parent, const QDir &home) : QWidget(parent), home(home), main(parent), active(false)
|
||||
ModelWindow::ModelWindow(MainWindow *parent, const QDir &home) :
|
||||
QWidget(parent), home(home), main(parent), active(false), ride(NULL)
|
||||
{
|
||||
// Layouts
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
|
||||
Reference in New Issue
Block a user