mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 13:11:20 -05:00 
			
		
		
		
	Fix Qt5 compilation
This commit is contained in:
		
							parent
							
								
									c3a1c8db0e
								
							
						
					
					
						commit
						84960eff03
					
				@ -697,7 +697,6 @@ bool RS41Subframe::getHumidityPressureCal(float *vec, float *mat) const
 | 
				
			|||||||
        for (int i = 0; i < 12; i++) {
 | 
					        for (int i = 0; i < 12; i++) {
 | 
				
			||||||
            mat[i] = 0.0f;
 | 
					            mat[i] = 0.0f;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        qDebug() << "hasHumidityPressureCal: false";
 | 
					 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -709,8 +708,8 @@ QString RS41Subframe::getType() const
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        QByteArray bytes = m_subframe.mid(0x218, 10);
 | 
					        QByteArray bytes = m_subframe.mid(0x218, 10);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        while ((bytes.size() > 0) && (bytes.back() == 0)) {
 | 
					        while ((bytes.size() > 0) && (bytes.back() == '\0')) {
 | 
				
			||||||
            bytes.removeLast();
 | 
					            bytes.remove(bytes.size() - 1, 1);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return QString(bytes).trimmed();
 | 
					        return QString(bytes).trimmed();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user