mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:30:04 +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())
|
switch (ev->type())
|
||||||
{
|
{
|
||||||
case QEvent::Type::MouseButtonPress:
|
case QEvent::Type::MouseButtonPress:
|
||||||
|
{
|
||||||
auto it = segmentsByLine_.find(di);
|
auto it = segmentsByLine_.find(di);
|
||||||
if (it != segmentsByLine_.cend())
|
if (it != segmentsByLine_.cend())
|
||||||
{
|
{
|
||||||
|
|
@ -558,6 +559,10 @@ void AlertLayer::Impl::HandleGeoLinesEvent(
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AlertLayer::Impl::HandleGeoLinesHover(
|
void AlertLayer::Impl::HandleGeoLinesHover(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue