mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:20:05 +00:00
Emit signals when a sweep is not updated (with reason)
This commit is contained in:
parent
745eba34f2
commit
6b179fe35c
7 changed files with 44 additions and 1 deletions
|
|
@ -1010,6 +1010,10 @@ void MapWidgetImpl::RadarProductViewConnect()
|
|||
Q_EMIT widget_->RadarSweepUpdated();
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
connect(radarProductView.get(),
|
||||
&view::RadarProductView::SweepNotComputed,
|
||||
widget_,
|
||||
&MapWidget::RadarSweepNotUpdated);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1027,6 +1031,10 @@ void MapWidgetImpl::RadarProductViewDisconnect()
|
|||
&view::RadarProductView::SweepComputed,
|
||||
this,
|
||||
nullptr);
|
||||
disconnect(radarProductView.get(),
|
||||
&view::RadarProductView::SweepNotComputed,
|
||||
widget_,
|
||||
nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue