fix uninitialized 'ride' variable in ModelWindow

This commit is contained in:
Sean Rhea
2010-03-14 10:11:41 -04:00
parent ccc2f1f0ff
commit 7f2abaa01b

View File

@@ -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;