mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
Windows : Fix special characters in messages + build languages
This commit is contained in:
parent
029fba05e0
commit
2307c7ba82
2 changed files with 8 additions and 7 deletions
|
|
@ -77,10 +77,11 @@ add_custom_target(update_translations
|
|||
|
||||
# Remove `*.qm` when `clean` is called.
|
||||
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${QM_FILES}")
|
||||
|
||||
if (WIN32)
|
||||
# Workaround: Create empty files for some cmake versions. Otherwise, the qm rules can't be used.
|
||||
# foreach (qm ${QM_FILES})
|
||||
# if (NOT EXISTS "${qm}")
|
||||
# file(GENERATE OUTPUT "${qm}" CONTENT "")
|
||||
# endif()
|
||||
# endforeach()
|
||||
foreach (qm ${QM_FILES})
|
||||
if (NOT EXISTS "${qm}")
|
||||
file(GENERATE OUTPUT "${qm}" CONTENT "")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@ ChatMessageModel::ChatMessageModel ( std::shared_ptr<linphone::ChatMessage> chat
|
|||
QString txt;
|
||||
for(auto content : contents){
|
||||
if(content->isText())
|
||||
txt += Utils::coreStringToAppString(content->getUtf8Text());
|
||||
txt += content->getUtf8Text().c_str();
|
||||
}
|
||||
mContent = txt;
|
||||
//mIsOutgoing = chatMessage->isOutgoing() || chatMessage->getState() == linphone::ChatMessage::State::Idle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue