make sure "current" is initialized

Also, a nit: fix indentation of 1 line in AllPlotWindow.h.
This commit is contained in:
Sean Rhea
2010-04-11 17:19:33 -04:00
parent 2c00dc0a41
commit 1007ab3035
5 changed files with 5 additions and 5 deletions

View File

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