summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp1
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.h9
2 files changed, 0 insertions, 10 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index 79c5f949..97d89cbb 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -402,7 +402,6 @@ void QFunctionConfigurator::mousePressEvent(QMouseEvent *e)
if (!bTouchingPoint) {
if (withinRect(e->pos(), range)) {
_config->addPoint(normalizePoint(e->pos()));
- movingPoint = -1;
emit CurveChanged( true );
}
}
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h
index fc2a1957..7260de1f 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.h
+++ b/qfunctionconfigurator/qfunctionconfigurator.h
@@ -143,11 +143,6 @@ public slots:
void setOutputEGU(QString);
void setCaption(QString);
- void resetCurve() {
- qDebug() << "QFunctionConfigurator::resetCurve = " << strSettingsFile;
- loadSettings( strSettingsFile );
- }
-
protected slots:
void paintEvent(QPaintEvent *e);
void mousePressEvent(QMouseEvent *e);
@@ -193,10 +188,6 @@ private:
bool _draw_function; // Flag to determine if the function should be (re-)drawn on the QPixmap
QPixmap _function; // Image of the function (static unless edited by the user)
- //
- // Properties of the CurveConfigurator Widget
- //
- QString _title; // Title do display in Widget and to load Settings
FunctionConfig* _config;
};