summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.cpp
diff options
context:
space:
mode:
authorJean Claveau <jean.claveau@c277.fr>2014-09-13 15:04:50 +0200
committerJean Claveau <jean.claveau@c277.fr>2014-09-13 15:04:50 +0200
commit2a17016157509befc3b53922b9c056814ef3f0ef (patch)
tree633ea264d55272d77d9557dedb2d15ab9f3ddd78 /src/widget/wpushbutton.cpp
parent211fe98426740f911e15eadac3a4d2561c7e69b8 (diff)
parentf4b5ab6d8300017da69e15db613d593bead3d216 (diff)
Merge branch 'master' of git://github.com/mixxxdj/mixxx into remove_svg_tempfile
Diffstat (limited to 'src/widget/wpushbutton.cpp')
-rw-r--r--src/widget/wpushbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/wpushbutton.cpp b/src/widget/wpushbutton.cpp
index 83df2d9bdb..65ddbe1800 100644
--- a/src/widget/wpushbutton.cpp
+++ b/src/widget/wpushbutton.cpp
@@ -176,11 +176,11 @@ void WPushButton::setup(QDomNode node, const SkinContext& context) {
case ControlPushButton::PUSH:
case ControlPushButton::LONGPRESSLATCHING:
case ControlPushButton::POWERWINDOW:
- leftConnection->setEmitOption(
+ rightConnection->setEmitOption(
ControlParameterWidgetConnection::EMIT_ON_PRESS_AND_RELEASE);
break;
default:
- leftConnection->setEmitOption(
+ rightConnection->setEmitOption(
ControlParameterWidgetConnection::EMIT_ON_PRESS);
break;
}