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 4ca86c441d
commit ac570c415c
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;