summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wpushbutton.h')
-rw-r--r--src/widget/wpushbutton.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widget/wpushbutton.h b/src/widget/wpushbutton.h
index 3d7fb2938d..f318078f69 100644
--- a/src/widget/wpushbutton.h
+++ b/src/widget/wpushbutton.h
@@ -52,7 +52,7 @@ class WPushButton : public WWidget {
// The declaration #MyButton[displayValue="0"] { } will define the style
// when the widget is in state 0. This allows for effects like reversing
// background and foreground colors to indicate enabled/disabled state.
- Q_PROPERTY(int displayValue READ readDisplayValue WRITE setDisplayValue)
+ Q_PROPERTY(int displayValue READ readDisplayValue)
int readDisplayValue() const {
double value = getControlParameterDisplay();
@@ -60,10 +60,6 @@ class WPushButton : public WWidget {
return idx;
}
- void setDisplayValue(int val) {
- setControlParameter(static_cast<double>(val));
- }
-
void setup(QDomNode node, const SkinContext& context);
// Sets the number of states associated with this button, and removes