Permalink
Browse files

Make sure that the waitBox pointer is initialized to 0 in lp-gui

  • Loading branch information...
1 parent b2b0c62 commit 95a74cdc4f15f478fecf9c9ce2431798082fe4a9 Ken Moore committed Oct 25, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src-qt4/life-preserver/lp-gui/LPMain.cpp
@@ -4,6 +4,8 @@
LPMain::LPMain(QWidget *parent) : QMainWindow(parent), ui(new Ui::LPMain){
ui->setupUi(this); //load the Qt-designer UI file
+ //Initialize the waitbox pointer
+ waitBox = 0;
//Create the basic/advanced view options
viewBasic = new QRadioButton(tr("Basic"), ui->menuView);
QWidgetAction *WABasic = new QWidgetAction(this); WABasic->setDefaultWidget(viewBasic);

0 comments on commit 95a74cd

Please sign in to comment.