diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-11-05 18:11:45 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-05 18:11:45 +0100 |
commit | 46c1959e5b538b45ad7b55f80673952b031e5303 (patch) | |
tree | 320d0b24befb671c5f667836610cb9e7d0a916dd /src | |
parent | 4daa57f6d139f51a62ea4bcffa738bd5035df33a (diff) |
Local code accidental
Diffstat (limited to 'src')
-rw-r--r-- | src/Text.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Text.cpp b/src/Text.cpp index be31434..3fd8975 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -511,14 +511,8 @@ namespace QuickMedia emoji_codepoint_combined = "1f441-200d-1f5e8"; std::string image_url; - bool image_local = false; - if(emoji_codepoint_combined != "1f3f3-fe0f-200d-26a7-fe0f") { - image_url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png"; - image_local = true; - } else { - image_url = "/home/dec05eba/Pictures/troonjak.png"; - image_local = true; - } + bool image_local = true; + image_url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png"; text_element.create_text("E"); text_element.text_type = TextElement::TextType::EMOJI; |