|  |  | @ -9,6 +9,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | MapSettings::MapSettings(bool closeable, QWidget *parent) : QFrame(parent) { |  |  |  | MapSettings::MapSettings(bool closeable, QWidget *parent) : QFrame(parent) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   setContentsMargins(0, 0, 0, 0); |  |  |  |   setContentsMargins(0, 0, 0, 0); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   setAttribute(Qt::WA_NoMousePropagation); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   auto *frame = new QVBoxLayout(this); |  |  |  |   auto *frame = new QVBoxLayout(this); | 
			
		
	
		
		
			
				
					
					|  |  |  |   frame->setContentsMargins(40, 40, 40, 0); |  |  |  |   frame->setContentsMargins(40, 40, 40, 0); | 
			
		
	
	
		
		
			
				
					|  |  | @ -88,11 +89,6 @@ MapSettings::MapSettings(bool closeable, QWidget *parent) : QFrame(parent) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   current_locations = NavigationRequest::instance()->currentLocations(); |  |  |  |   current_locations = NavigationRequest::instance()->currentLocations(); | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | void MapSettings::mousePressEvent(QMouseEvent *ev) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // Prevent mouse event from propagating up
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   ev->accept(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | void MapSettings::showEvent(QShowEvent *event) { |  |  |  | void MapSettings::showEvent(QShowEvent *event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   updateCurrentRoute(); |  |  |  |   updateCurrentRoute(); | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |