summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.cpp
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2018-04-04 20:44:33 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2018-04-04 20:44:33 +0200
commit7cb5e34d4b3a46afb95cbc911ba3b329e0f4205f (patch)
treef71468243357d9ac1c5eb21ef820f0b4d9b386ca /src/widget/wpushbutton.cpp
parent53f7410f11796c7ffa6c71dd72a1ae37a2a3f860 (diff)
Improve skin warning in WPushButton
Diffstat (limited to 'src/widget/wpushbutton.cpp')
-rw-r--r--src/widget/wpushbutton.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widget/wpushbutton.cpp b/src/widget/wpushbutton.cpp
index d8940c9ab3..9468b5bb21 100644
--- a/src/widget/wpushbutton.cpp
+++ b/src/widget/wpushbutton.cpp
@@ -192,10 +192,11 @@ void WPushButton::setup(const QDomNode& node, const SkinContext& context) {
if (p) {
m_rightButtonMode = p->getButtonMode();
if (m_rightButtonMode != ControlPushButton::PUSH &&
+ m_rightButtonMode != ControlPushButton::TOGGLE &&
m_rightButtonMode != ControlPushButton::TRIGGER) {
SKIN_WARNING(node, context)
- << "WPushButton::setup: Connecting a Pushbutton not in PUSH or TRIGGER mode is not implemented\n"
- << "Please set <RightClickIsPushButton>true</RightClickIsPushButton>";
+ << "WPushButton::setup: Connecting a Pushbutton not in PUSH, TRIGGER or TOGGLE mode is not implemented\n"
+ << "Please consider to set <RightClickIsPushButton>true</RightClickIsPushButton>";
}
}
}