mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:20:06 +00:00 
			
		
		
		
	"this" must be explicit in lambda capture
This commit is contained in:
		
							parent
							
								
									31db9a4315
								
							
						
					
					
						commit
						a3afd71f03
					
				
					 19 changed files with 132 additions and 129 deletions
				
			
		|  | @ -74,7 +74,7 @@ void AlertDialogImpl::ConnectSignals() | |||
|       textEventManager_.get(), | ||||
|       &manager::TextEventManager::AlertUpdated, | ||||
|       this, | ||||
|       [=](const types::TextEventKey& key) | ||||
|       [this](const types::TextEventKey& key) | ||||
|       { | ||||
|          if (key == key_) | ||||
|          { | ||||
|  | @ -85,7 +85,7 @@ void AlertDialogImpl::ConnectSignals() | |||
|    connect(goButton_, | ||||
|            &QPushButton::clicked, | ||||
|            this, | ||||
|            [=]() | ||||
|            [this]() | ||||
|            { | ||||
|               emit self_->MoveMap(centroid_.latitude_, centroid_.longitude_); | ||||
|               self_->close(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat