mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Merge pull request #1501 from srcejon/fix_1499
3D spectrum: Allow = as well as + to be used for zoom.
This commit is contained in:
commit
fc2e5f5821
@ -2194,7 +2194,7 @@ void GLSpectrumView::measurePeaks()
|
||||
}
|
||||
}
|
||||
|
||||
delete spectrum;
|
||||
delete[] spectrum;
|
||||
}
|
||||
|
||||
// Calculate and display channel power
|
||||
@ -4893,6 +4893,7 @@ bool GLSpectrumView::eventFilter(QObject *object, QEvent *event)
|
||||
m_glShaderSpectrogram.rotateZ(-5.0f);
|
||||
}
|
||||
break;
|
||||
case Qt::Key_Equal: // So you don't need to press shift
|
||||
case Qt::Key_Plus:
|
||||
if (keyEvent->modifiers() & Qt::ControlModifier) {
|
||||
m_glShaderSpectrogram.userScaleZ(1.1f);
|
||||
|
Loading…
Reference in New Issue
Block a user