mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
fix: move out AyuGram files for consistency
fix: compiler warning
This commit is contained in:
parent
6257e990a1
commit
132caa18c9
2 changed files with 72 additions and 69 deletions
|
@ -93,11 +93,7 @@ PRIVATE
|
||||||
desktop-app::external_xxhash
|
desktop-app::external_xxhash
|
||||||
)
|
)
|
||||||
|
|
||||||
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
|
set(ayugram_files
|
||||||
nice_target_sources(Telegram ${src_loc}
|
|
||||||
PRIVATE
|
|
||||||
${style_files}
|
|
||||||
|
|
||||||
ayu/ayu_worker.cpp
|
ayu/ayu_worker.cpp
|
||||||
ayu/ayu_worker.h
|
ayu/ayu_worker.h
|
||||||
ayu/ayu_url_handlers.cpp
|
ayu/ayu_url_handlers.cpp
|
||||||
|
@ -165,6 +161,13 @@ PRIVATE
|
||||||
ayu/data/entities.h
|
ayu/data/entities.h
|
||||||
ayu/data/ayu_database.cpp
|
ayu/data/ayu_database.cpp
|
||||||
ayu/data/ayu_database.h
|
ayu/data/ayu_database.h
|
||||||
|
)
|
||||||
|
|
||||||
|
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
|
||||||
|
nice_target_sources(Telegram ${src_loc}
|
||||||
|
PRIVATE
|
||||||
|
${style_files}
|
||||||
|
${ayugram_files}
|
||||||
|
|
||||||
api/api_attached_stickers.cpp
|
api/api_attached_stickers.cpp
|
||||||
api/api_attached_stickers.h
|
api/api_attached_stickers.h
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "ayu/utils/windows_utils.h"
|
#include "ayu/utils/windows_utils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const QVector icons{
|
const QVector<QString> icons{
|
||||||
AyuAssets::DEFAULT_ICON,
|
AyuAssets::DEFAULT_ICON,
|
||||||
AyuAssets::ALT_ICON,
|
AyuAssets::ALT_ICON,
|
||||||
AyuAssets::DISCORD_ICON,
|
AyuAssets::DISCORD_ICON,
|
||||||
|
|
Loading…
Add table
Reference in a new issue