diff options
author | Be <be@mixxx.org> | 2019-01-05 16:06:29 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2019-01-06 00:24:59 -0600 |
commit | 2ab7121f08fe12b628848720bb432af43aca0175 (patch) | |
tree | afc0d8c9a6cdfd5a352241229a94e38fe82cbe50 /src/waveform/visualplayposition.cpp | |
parent | f161b34ae71be5c24496c193bcbd8d296c60997e (diff) |
remove need for lambdas with connectValueChange(Request)
and remove old SLOT syntax for
ControlProxy::connectValueChangeRequest. That was easier than
getting it to play nice with the templating required for the
new functor syntax.
Diffstat (limited to 'src/waveform/visualplayposition.cpp')
-rw-r--r-- | src/waveform/visualplayposition.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/waveform/visualplayposition.cpp b/src/waveform/visualplayposition.cpp index 73cf2d1554..e32ec84f42 100644 --- a/src/waveform/visualplayposition.cpp +++ b/src/waveform/visualplayposition.cpp @@ -26,8 +26,7 @@ VisualPlayPosition::VisualPlayPosition(const QString& key) m_key(key) { m_audioBufferSize = new ControlProxy( "[Master]", "audio_buffer_size", this); - m_audioBufferSize->connectValueChanged( - SLOT(slotAudioBufferSizeChanged(double))); + m_audioBufferSize->connectValueChanged(this, &VisualPlayPosition::slotAudioBufferSizeChanged); m_audioBufferMicros = static_cast<int>(m_audioBufferSize->get() * kMicrosPerMillis); } |