summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 70d61ca59..c924370c5 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -17,6 +17,7 @@ class MinMaxAvgWidget : public QWidget{
Q_PROPERTY(double average READ average WRITE setAverage)
public:
MinMaxAvgWidget(QWidget *parent);
+ ~MinMaxAvgWidget();
double minimum() const;
double maximum() const;
double average() const;
@@ -28,7 +29,7 @@ public:
void setAverage(const QString& average);
void clear();
private:
- MinMaxAvgWidgetPrivate *d;
+ QScopedPointer<MinMaxAvgWidgetPrivate> d;
};
class RenumberDialog : public QDialog {