]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
initialize graph cursors to avoid crashing (issue 21)
authordn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Thu, 7 Jun 2012 14:00:41 +0000 (14:00 +0000)
committerdn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Thu, 7 Jun 2012 14:00:41 +0000 (14:00 +0000)
client/proxguiqt.cpp

index 4273664d20e42eb8ba79927613e22c9b95d93cc7..a820fe419d44f0ba604cc3c323667b1e07101e2a 100644 (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)
Impressum, Datenschutz