diff --git a/qt-ui/modeldelegates.h b/qt-ui/modeldelegates.h index 7679766e9..562111d9d 100644 --- a/qt-ui/modeldelegates.h +++ b/qt-ui/modeldelegates.h @@ -104,8 +104,8 @@ public: DoubleSpinBoxDelegate(qreal min, qreal max, QObject *parent = 0); virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const; private: - int min; - int max; + qreal min; + qreal max; }; #endif // MODELDELEGATES_H