summaryrefslogtreecommitdiff
path: root/muse/awl/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse/awl/checkbox.h')
-rw-r--r--muse/awl/checkbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse/awl/checkbox.h b/muse/awl/checkbox.h
index 145105bf..7a6252c1 100644
--- a/muse/awl/checkbox.h
+++ b/muse/awl/checkbox.h
@@ -35,13 +35,13 @@ class CheckBox : public QCheckBox {
private slots:
void hasToggled(bool val) {
- emit valueChanged(float(val), _id);
+ emit valueChanged(double(val), _id);
}
signals:
void valueChanged(float, int);
public slots:
- void setValue(float val) { setDown(val > 0.5f); }
+ void setValue(double val) { setDown(val > 0.5f); }
public:
CheckBox(QWidget* parent);