Cleanup logging in TimelineMessageModel

This commit is contained in:
Tobias Fella
2026-02-20 13:44:54 +01:00
parent 3f577adf34
commit 7cfac2151e
2 changed files with 9 additions and 2 deletions

View File

@@ -42,6 +42,13 @@ ecm_add_qml_module(Timeline GENERATE_PLUGIN_SOURCE
org.kde.neochat.libneochat
)
ecm_qt_declare_logging_category(Timeline
HEADER "timelinelogging.h"
IDENTIFIER "Timeline"
CATEGORY_NAME "org.kde.neochat.timeline"
DEFAULT_SEVERITY Info
)
if(NOT TARGET Olm::Olm)
target_compile_definitions(Timeline PRIVATE -DRUST_CRYPTO)
endif()