mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	Display locator not location
This commit is contained in:
		
							parent
							
								
									629d174c31
								
							
						
					
					
						commit
						7b418cb20e
					
				@ -30,13 +30,15 @@ struct IBPBeacon {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    QString m_callsign;
 | 
					    QString m_callsign;
 | 
				
			||||||
    QString m_location;
 | 
					    QString m_location;
 | 
				
			||||||
 | 
					    QString m_locator;
 | 
				
			||||||
    int m_offset; // Time offset in seconds
 | 
					    int m_offset; // Time offset in seconds
 | 
				
			||||||
    float m_latitude;
 | 
					    float m_latitude;
 | 
				
			||||||
    float m_longitude;
 | 
					    float m_longitude;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    IBPBeacon(QString callsign, QString location, QString locator, int offset) :
 | 
					    IBPBeacon(const QString& callsign, const QString& location, const QString& locator, int offset) :
 | 
				
			||||||
        m_callsign(callsign),
 | 
					        m_callsign(callsign),
 | 
				
			||||||
        m_location(location),
 | 
					        m_location(location),
 | 
				
			||||||
 | 
					        m_locator(locator),
 | 
				
			||||||
        m_offset(offset)
 | 
					        m_offset(offset)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        Maidenhead::fromMaidenhead(locator, m_latitude, m_longitude);
 | 
					        Maidenhead::fromMaidenhead(locator, m_latitude, m_longitude);
 | 
				
			||||||
@ -52,7 +54,7 @@ struct IBPBeacon {
 | 
				
			|||||||
        list.append(QString("Polarization: V"));
 | 
					        list.append(QString("Polarization: V"));
 | 
				
			||||||
        list.append(QString("Pattern: Omni"));
 | 
					        list.append(QString("Pattern: Omni"));
 | 
				
			||||||
        list.append(QString("Key: A1"));
 | 
					        list.append(QString("Key: A1"));
 | 
				
			||||||
        list.append(QString("Locator: %1").arg(m_location));
 | 
					        list.append(QString("Locator: %1").arg(m_locator));
 | 
				
			||||||
        return list.join("\n");
 | 
					        return list.join("\n");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user