summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index e3eb962b..7c59d98e 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -57,11 +57,6 @@
#include <math.h>
-QFunctionConfigurator::~QFunctionConfigurator()
-{
- delete btnReset;
-}
-
static const int pointSize = 5;
QFunctionConfigurator::QFunctionConfigurator(QWidget *parent)
@@ -87,12 +82,6 @@ QFunctionConfigurator::QFunctionConfigurator(QWidget *parent)
movingPoint = -1; // Index of that same point
//
- // Add a Reset-button
- //
- btnReset = new QPushButton(QString("Reset"), this);
- connect(btnReset, SIGNAL(clicked()), this, SLOT(resetCurve()));
-
- //
// Variables for FunctionConfig
//
_config = 0;
@@ -314,8 +303,6 @@ int i;
drawBackground(e->rect()); // Draw the static parts on a Pixmap
p.drawPixmap(0, 0, _background); // Paint the background
_draw_background = false;
-
- btnReset->move(e->rect().left(), e->rect().bottom() - btnReset->height() - 2);
}
if (_draw_function) {