From: dn337t@gmail.com Date: Thu, 7 Jun 2012 14:00:41 +0000 (+0000) Subject: initialize graph cursors to avoid crashing (issue 21) X-Git-Tag: v1.0.0~203 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/cee48e2b4439f4bc9e9303a606ecee857fab1b12 initialize graph cursors to avoid crashing (issue 21) --- diff --git a/client/proxguiqt.cpp b/client/proxguiqt.cpp index 4273664d..a820fe41 100644 --- a/client/proxguiqt.cpp +++ b/client/proxguiqt.cpp @@ -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)