Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 150:e2f13213c2f1
* bit of work on harmonic cursor in spectrum
author | Chris Cannam |
---|---|
date | Mon, 11 Jun 2007 12:14:52 +0000 |
parents | 140ea2569bcc |
children | 152619d379e0 |
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; } }