replace combined stateUpdated signal with individual events
This commit is contained in:
@@ -117,6 +117,12 @@ void EventManager::processEvents()
|
||||
}
|
||||
}
|
||||
|
||||
void EventManager::clearEvents()
|
||||
{
|
||||
std::scoped_lock<std::mutex> lock(m_eventsMutex);
|
||||
m_events.clear();
|
||||
}
|
||||
|
||||
bool EventManager::hasEvents() const
|
||||
{
|
||||
return !m_events.empty();
|
||||
|
||||
Reference in New Issue
Block a user