From cee48e2b4439f4bc9e9303a606ecee857fab1b12 Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Thu, 7 Jun 2012 14:00:41 +0000 Subject: [PATCH] initialize graph cursors to avoid crashing (issue 21) --- client/proxguiqt.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5