mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:30:05 +00:00 
			
		
		
		
	emit keyword is incompatible with oneTBB
This commit is contained in:
		
							parent
							
								
									b9f55fbb4d
								
							
						
					
					
						commit
						ea6134acea
					
				
					 24 changed files with 81 additions and 72 deletions
				
			
		|  | @ -278,7 +278,7 @@ void AlertLayerHandler::HandleAlert(const types::TextEventKey& key, | |||
|    for (auto& alert : alertsUpdated) | ||||
|    { | ||||
|       // Emit signal for each updated alert type
 | ||||
|       emit AlertsUpdated(alert.first, alert.second); | ||||
|       Q_EMIT AlertsUpdated(alert.first, alert.second); | ||||
|    } | ||||
| } | ||||
| 
 | ||||
|  | @ -326,7 +326,7 @@ void AlertLayerHandler::UpdateAlerts() | |||
|    for (auto& alert : alertsUpdated) | ||||
|    { | ||||
|       // Emit signal for each updated alert type
 | ||||
|       emit AlertsUpdated(alert.first, alert.second); | ||||
|       Q_EMIT AlertsUpdated(alert.first, alert.second); | ||||
|    } | ||||
| 
 | ||||
|    using namespace std::chrono; | ||||
|  |  | |||
|  | @ -493,7 +493,7 @@ void MapWidget::SelectRadarSite(std::shared_ptr<config::RadarSite> radarSite, | |||
| 
 | ||||
|       // TODO: Disable refresh from old site
 | ||||
| 
 | ||||
|       emit RadarSiteUpdated(radarSite); | ||||
|       Q_EMIT RadarSiteUpdated(radarSite); | ||||
|    } | ||||
| } | ||||
| 
 | ||||
|  | @ -629,7 +629,7 @@ void MapWidget::changeStyle() | |||
|       p->currentStyleIndex_ = 0; | ||||
|    } | ||||
| 
 | ||||
|    emit MapStyleChanged(p->currentStyle_->name_); | ||||
|    Q_EMIT MapStyleChanged(p->currentStyle_->name_); | ||||
| } | ||||
| 
 | ||||
| void MapWidget::AddLayers() | ||||
|  | @ -820,11 +820,11 @@ void MapWidget::initializeGL() | |||
|    p->map_->setCoordinateZoom({radarSite->latitude(), radarSite->longitude()}, | ||||
|                               7); | ||||
|    p->UpdateStoredMapParameters(); | ||||
|    emit MapParametersChanged(p->prevLatitude_, | ||||
|                              p->prevLongitude_, | ||||
|                              p->prevZoom_, | ||||
|                              p->prevBearing_, | ||||
|                              p->prevPitch_); | ||||
|    Q_EMIT MapParametersChanged(p->prevLatitude_, | ||||
|                                p->prevLongitude_, | ||||
|                                p->prevZoom_, | ||||
|                                p->prevBearing_, | ||||
|                                p->prevPitch_); | ||||
| 
 | ||||
|    // Update style
 | ||||
|    changeStyle(); | ||||
|  | @ -881,7 +881,7 @@ void MapWidgetImpl::RadarProductManagerConnect() | |||
|       connect(radarProductManager_.get(), | ||||
|               &manager::RadarProductManager::Level3ProductsChanged, | ||||
|               this, | ||||
|               [this]() { emit widget_->Level3ProductsChanged(); }); | ||||
|               [this]() { Q_EMIT widget_->Level3ProductsChanged(); }); | ||||
| 
 | ||||
|       connect( | ||||
|          radarProductManager_.get(), | ||||
|  | @ -1007,7 +1007,7 @@ void MapWidgetImpl::RadarProductViewConnect() | |||
|                radarProductView->range(), | ||||
|                {radarSite->latitude(), radarSite->longitude()}); | ||||
|             widget_->update(); | ||||
|             emit widget_->RadarSweepUpdated(); | ||||
|             Q_EMIT widget_->RadarSweepUpdated(); | ||||
|          }, | ||||
|          Qt::QueuedConnection); | ||||
|    } | ||||
|  | @ -1055,7 +1055,7 @@ void MapWidgetImpl::Update() | |||
| 
 | ||||
|    if (UpdateStoredMapParameters()) | ||||
|    { | ||||
|       emit widget_->MapParametersChanged( | ||||
|       Q_EMIT widget_->MapParametersChanged( | ||||
|          prevLatitude_, prevLongitude_, prevZoom_, prevBearing_, prevPitch_); | ||||
|    } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat