We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc0e0b commit 1982939Copy full SHA for 1982939
1 file changed
src/widgets/aooptionsdialog.cpp
@@ -10,6 +10,7 @@
10
#include <bass.h>
11
12
#include <QCollator>
13
+#include <QDoubleSpinBox>
14
#include <QGroupBox>
15
#include <QResource>
16
#include <QUiLoader>
@@ -97,6 +98,18 @@ int AOOptionsDialog::widgetData(QSpinBox *widget) const
97
98
return widget->value();
99
}
100
101
+template <>
102
+void AOOptionsDialog::setWidgetData(QDoubleSpinBox *widget, const double &value)
103
+{
104
+ widget->setValue(value);
105
+}
106
+
107
108
+double AOOptionsDialog::widgetData(QDoubleSpinBox *widget) const
109
110
+ return widget->value();
111
112
113
template <>
114
void AOOptionsDialog::setWidgetData(QComboBox *widget, const QString &value)
115
{
0 commit comments