diff options
author | Owen Williams <owilliams@mixxx.org> | 2013-12-07 18:02:38 -0500 |
---|---|---|
committer | Owen Williams <owilliams@mixxx.org> | 2013-12-08 09:45:21 -0500 |
commit | 25830a28f39cbafacf505e77d8390d908b8d61d3 (patch) | |
tree | 290f6c27e3a0e2ec722e7082be4916234aaf6b7f /src/widget/wpushbutton.h | |
parent | 90d6a0154d1d4b6ca9e10386512f48e632306ff4 (diff) |
Make latching simply the opposite of powerwindows
Diffstat (limited to 'src/widget/wpushbutton.h')
-rw-r--r-- | src/widget/wpushbutton.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/widget/wpushbutton.h b/src/widget/wpushbutton.h index 2e344eca97..f700f1120d 100644 --- a/src/widget/wpushbutton.h +++ b/src/widget/wpushbutton.h @@ -55,12 +55,6 @@ class WPushButton : public WWidget public slots: void setValue(double); - private slots: - void slotCheckSetLatching(); - - signals: - void valueChangedLatched(double); - protected: virtual void paintEvent(QPaintEvent *); virtual void mousePressEvent(QMouseEvent *e); @@ -78,11 +72,8 @@ class WPushButton : public WWidget QPixmap **m_pPixmaps; // Associated background pixmap QPixmap *m_pPixmapBack; - // short click toggle button long click push button. ControlPushButton::ButtonMode m_leftButtonMode, m_rightButtonMode; QTimer m_clickTimer; - // Keep track if latching is still valid. - bool m_bLatchActive; }; #endif |