Mercurial > hg > svgui
diff view/ViewManager.cpp @ 694:ad12e428785b tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 03 Dec 2013 17:58:40 +0000 |
parents | 917039d333bb d8fc9659a206 |
children | 084fd76deb89 |
line wrap: on
line diff
--- a/view/ViewManager.cpp Fri Nov 29 14:51:47 2013 +0000 +++ b/view/ViewManager.cpp Tue Dec 03 17:58:40 2013 +0000 @@ -454,6 +454,9 @@ void ViewManager::playStatusChanged(bool /* playing */) { +#ifdef DEBUG_VIEW_MANAGER + cerr << "ViewManager::playStatusChanged" << endl; +#endif checkPlayStatus(); } @@ -483,8 +486,6 @@ } else { - QTimer::singleShot(100, this, SLOT(checkPlayStatus())); - if (m_lastLeft != 0.0 || m_lastRight != 0.0) { emit outputLevelsChanged(0.0, 0.0); m_lastLeft = 0.0; @@ -492,7 +493,7 @@ } #ifdef DEBUG_VIEW_MANAGER -// cerr << "ViewManager::checkPlayStatus: Not playing" << endl; + cerr << "ViewManager::checkPlayStatus: Not playing" << endl; #endif } }