comparison view/ViewManager.cpp @ 177:dbd34ff746c7

* Update the main sv.prf for compatibility with Qt 4.2 qmake instead of that from 4.1. Add a README.Qt41 describing how to build with 4.1 if preferred. * Add OSC support for control from external scripts etc (work in progress).
author Chris Cannam
date Fri, 10 Nov 2006 13:27:57 +0000
parents 9e6b3e239b9d
children 29f01de27db4
comparison
equal deleted inserted replaced
176:ad7df5989d08 177:dbd34ff746c7
232 } 232 }
233 233
234 void 234 void
235 ViewManager::setPlayLoopMode(bool mode) 235 ViewManager::setPlayLoopMode(bool mode)
236 { 236 {
237 m_playLoopMode = mode; 237 if (m_playLoopMode != mode) {
238 238
239 emit playLoopModeChanged(); 239 m_playLoopMode = mode;
240
241 emit playLoopModeChanged();
242 emit playLoopModeChanged(mode);
243 }
240 } 244 }
241 245
242 void 246 void
243 ViewManager::setPlaySelectionMode(bool mode) 247 ViewManager::setPlaySelectionMode(bool mode)
244 { 248 {
245 m_playSelectionMode = mode; 249 if (m_playSelectionMode != mode) {
246 250
247 emit playSelectionModeChanged(); 251 m_playSelectionMode = mode;
252
253 emit playSelectionModeChanged();
254 emit playSelectionModeChanged(mode);
255 }
248 } 256 }
249 257
250 size_t 258 size_t
251 ViewManager::getPlaybackSampleRate() const 259 ViewManager::getPlaybackSampleRate() const
252 { 260 {