mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
make sure "current" is initialized
Also, a nit: fix indentation of 1 line in AllPlotWindow.h.
This commit is contained in:
@@ -46,7 +46,7 @@ ModelWindow::addStandardChannels(QComboBox *box)
|
||||
}
|
||||
|
||||
ModelWindow::ModelWindow(MainWindow *parent, const QDir &home) :
|
||||
QWidget(parent), home(home), main(parent), ride(NULL)
|
||||
QWidget(parent), home(home), main(parent), ride(NULL), current(NULL)
|
||||
{
|
||||
// Layouts
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
|
||||
Reference in New Issue
Block a user