mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:00:05 +00:00
Provide HandleGeoLinesEvent default event type case
This commit is contained in:
parent
264cfb9326
commit
74dbe1f915
1 changed files with 5 additions and 0 deletions
|
|
@ -549,6 +549,7 @@ void AlertLayer::Impl::HandleGeoLinesEvent(
|
|||
switch (ev->type())
|
||||
{
|
||||
case QEvent::Type::MouseButtonPress:
|
||||
{
|
||||
auto it = segmentsByLine_.find(di);
|
||||
if (it != segmentsByLine_.cend())
|
||||
{
|
||||
|
|
@ -558,6 +559,10 @@ void AlertLayer::Impl::HandleGeoLinesEvent(
|
|||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void AlertLayer::Impl::HandleGeoLinesHover(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue