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

@@ -36,7 +36,7 @@
#include <qwt_arrow_button.h>
AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) :
QWidget(mainWindow), mainWindow(mainWindow)
QWidget(mainWindow), mainWindow(mainWindow), current(NULL)
{
QVBoxLayout *vlayout = new QVBoxLayout;