Mercurial > hg > sonic-visualiser
changeset 150:e2f13213c2f1
* bit of work on harmonic cursor in spectrum
author | Chris Cannam |
---|---|
date | Mon, 11 Jun 2007 12:14:52 +0000 |
parents | 37cb005f7c40 |
children | 152619d379e0 |
files | main/MainWindow.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Fri Jun 08 15:19:50 2007 +0000 +++ b/main/MainWindow.cpp Mon Jun 11 12:14:52 2007 +0000 @@ -3300,7 +3300,7 @@ if (!sl.empty()) { MultiSelection::SelectionList::iterator i = sl.end(); --i; - size_t selectionEndFrame = i->getEndFrame(); + int selectionEndFrame = i->getEndFrame(); if (frame > selectionEndFrame) frame = selectionEndFrame; } } @@ -3352,7 +3352,7 @@ if (m_viewManager->getPlaySelectionMode()) { MultiSelection::SelectionList sl = m_viewManager->getSelections(); if (!sl.empty()) { - size_t selectionStartFrame = sl.begin()->getStartFrame(); + int selectionStartFrame = sl.begin()->getStartFrame(); if (frame < selectionStartFrame) frame = selectionStartFrame; } }