initialize graph cursors to avoid crashing (issue 21)

This commit is contained in:
dn337t@gmail.com 2012-06-07 14:00:41 +00:00
parent 36f0588054
commit cee48e2b44

View file

@ -288,6 +288,8 @@ ProxWidget::ProxWidget(QWidget *parent) : QWidget(parent), GraphStart(0), GraphP
palette.setColor(QPalette::Button, QColor(100, 100, 100));
setPalette(palette);
setAutoFillBackground(true);
CursorAPos = 0;
CursorBPos = 0;
}
void ProxWidget::closeEvent(QCloseEvent *event)