diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-11 18:07:42 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-11 18:07:42 +0900 |
commit | 9af5e25dbc040fa99d05cb23f7df53e3476ab1dd (patch) | |
tree | 6198e031987ecaa22136adf1252e86c291203519 /lib/events/event.h | |
parent | e66cae5fd3e74c5839804e560332e5690709931a (diff) | |
download | libquotient-9af5e25dbc040fa99d05cb23f7df53e3476ab1dd.tar.gz libquotient-9af5e25dbc040fa99d05cb23f7df53e3476ab1dd.zip |
EventTypeRegistry::getMatrixType(): move implementation to .cpp
Diffstat (limited to 'lib/events/event.h')
-rw-r--r-- | lib/events/event.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/events/event.h b/lib/events/event.h index 95f79da0..2a03f77a 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -87,11 +87,7 @@ namespace QMatrixClient return initializeTypeId(EventT::matrixTypeId()); } - static event_mtype_t getMatrixType(event_type_t typeId) - { - return typeId < get().eventTypes.size() - ? get().eventTypes[typeId] : ""; - } + static QString getMatrixType(event_type_t typeId); private: EventTypeRegistry() = default; |