fixed ctrl+mousewheel zooming in on piano roll

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1922 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Andrew Kelley
2008-12-14 11:10:21 +00:00
parent 167180e670
commit 1b62bea839
3 changed files with 2 additions and 2 deletions

View File

@@ -2761,7 +2761,7 @@ void pianoRoll::resizeEvent( QResizeEvent * )
void pianoRoll::wheelEvent( QWheelEvent * _we )
{
_we->accept();
if( engine::getMainWindow()->isCtrlPressed() == true )
if( _we->modifiers() & Qt::ControlModifier )
{
if( _we->delta() > 0 )
{