diff options
author | Be <be@mixxx.org> | 2018-02-24 16:24:04 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2018-03-01 17:51:25 -0600 |
commit | 6cd8cd67c741fd8a90a84736b5e0cc797f847b71 (patch) | |
tree | bb2276a280b65bf39e57d6d9ab50b32034cd74a1 /src/widget/wbeatspinbox.cpp | |
parent | 1ce75a663afaf740f39e70e25ced80c2f0fa96c7 (diff) |
fix constructors of WEffectSelector and WBeatSpinBox
The improper construction of the parent WBaseWidget class was causing
some strange issues. Sizes specified by the skin were ignored for
WEffectSelector and neither widget had the correct tooltip in developer
mode.
Diffstat (limited to 'src/widget/wbeatspinbox.cpp')
-rw-r--r-- | src/widget/wbeatspinbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget/wbeatspinbox.cpp b/src/widget/wbeatspinbox.cpp index 1fcbdccf43..43a6d89ce1 100644 --- a/src/widget/wbeatspinbox.cpp +++ b/src/widget/wbeatspinbox.cpp @@ -10,7 +10,8 @@ QRegExp WBeatSpinBox::s_regexpBlacklist("[^0-9.,/ ]"); WBeatSpinBox::WBeatSpinBox(QWidget * parent, ControlObject* pValueControl, int decimals, double minimum, double maximum) - : WBaseWidget(parent), + : QDoubleSpinBox(parent), + WBaseWidget(this), m_valueControl( pValueControl ? pValueControl->getKey() : ConfigKey(), this |