mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	3D spectrum: Allow = to be used for +. Fix array delete.
This commit is contained in:
		
							parent
							
								
									66f34d5500
								
							
						
					
					
						commit
						036f396be4
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user