[ion/events] Add comment about defaultText method

Change-Id: Ief2b53395a7921d85b116ded935c9dfeb10d08fd
This commit is contained in:
Gabriel Ozouf
2020-10-30 14:17:33 +01:00
committed by Émilie Feral
parent 993de56d59
commit 6f21310e08

View File

@@ -61,6 +61,8 @@ bool Event::isDefined() const {
}
const char * Event::defaultText() const {
/* As the ExternalText event is only available on the simulator, we save a
* comparison by not handling it on the device. */
if (m_id >= 4*PageSize) {
return nullptr;
}