comparison main/MainWindow.cpp @ 914:096634fc3f19 cxx11

Now builds with current svcore; next, try it again with -Wconversion in svgui, svapp, and sonic-visualiser
author Chris Cannam
date Wed, 04 Mar 2015 13:53:42 +0000
parents c08df7de50f6
children 67540751da93
comparison
equal deleted inserted replaced
913:3c88bf74959d 914:096634fc3f19
3747 candidateInputModels.push_back(aggregate); 3747 candidateInputModels.push_back(aggregate);
3748 //!!! but it leaks 3748 //!!! but it leaks
3749 } 3749 }
3750 } 3750 }
3751 3751
3752 int startFrame = 0, duration = 0; 3752 sv_frame_t startFrame = 0, duration = 0;
3753 int endFrame = 0; 3753 sv_frame_t endFrame = 0;
3754 m_viewManager->getSelection().getExtents(startFrame, endFrame); 3754 m_viewManager->getSelection().getExtents(startFrame, endFrame);
3755 if (endFrame > startFrame) duration = endFrame - startFrame; 3755 if (endFrame > startFrame) duration = endFrame - startFrame;
3756 else startFrame = 0; 3756 else startFrame = 0;
3757 3757
3758 TransformUserConfigurator configurator; 3758 TransformUserConfigurator configurator;