Use Quotient's accountregistry

This commit is contained in:
Tobias Fella
2021-11-01 19:36:39 +00:00
parent ee8be4b755
commit d494eb1c63
11 changed files with 186 additions and 128 deletions

View File

@@ -4,7 +4,6 @@
# SPDX-License-Identifier: BSD-2-Clause
add_executable(neochat
accountlistmodel.cpp
controller.cpp
actionshandler.cpp
emojimodel.cpp
@@ -42,6 +41,8 @@ add_executable(neochat
if(Quotient_VERSION_MINOR GREATER 6)
target_compile_definitions(neochat PRIVATE QUOTIENT_07)
else()
target_sources(neochat PRIVATE accountregistry.cpp)
endif()
ecm_add_app_icon(NEOCHAT_ICON ICONS ${CMAKE_SOURCE_DIR}/128-logo.png)