Corrected assignment (#4757)
There is no need in conversion from float to integer
This commit is contained in:
committed by
Tres Finocchiaro
parent
a0ace860f4
commit
c467f5b08a
@@ -3269,7 +3269,7 @@ void PianoRoll::wheelEvent(QWheelEvent * we )
|
||||
}
|
||||
if( nv.size() > 0 )
|
||||
{
|
||||
const int step = we->delta() > 0 ? 1.0 : -1.0;
|
||||
const int step = we->delta() > 0 ? 1 : -1;
|
||||
if( m_noteEditMode == NoteEditVolume )
|
||||
{
|
||||
for ( Note * n : nv )
|
||||
|
||||
Reference in New Issue
Block a user