X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ff2e9c1c8110332af20919c125ae27df9fe79df8..6b6815bccb7b11cf7847a353f8c9cf588ab0d342:/client/proxguiqt.cpp diff --git a/client/proxguiqt.cpp b/client/proxguiqt.cpp index 4273664d..677f26d5 100644 --- a/client/proxguiqt.cpp +++ b/client/proxguiqt.cpp @@ -80,10 +80,7 @@ void ProxGuiQT::MainLoop() plotapp->exec(); } -ProxGuiQT::ProxGuiQT(int argc, char **argv) : plotapp(NULL), plotwidget(NULL), - argc(argc), argv(argv) -{ -} +ProxGuiQT::ProxGuiQT(int argc, char **argv) : plotapp(NULL), plotwidget(NULL), argc(argc), argv(argv) {} ProxGuiQT::~ProxGuiQT(void) { @@ -280,7 +277,7 @@ void ProxWidget::paintEvent(QPaintEvent *event) ProxWidget::ProxWidget(QWidget *parent) : QWidget(parent), GraphStart(0), GraphPixelsPerPoint(1) { - resize(600, 500); + resize(600, 300); QPalette palette(QColor(0,0,0,0)); palette.setColor(QPalette::WindowText, QColor(255,255,255)); @@ -288,6 +285,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) @@ -308,7 +307,6 @@ void ProxWidget::mouseMoveEvent(QMouseEvent *event) CursorBPos = x; } - this->update(); }