aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/documentstyle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/documentstyle.cpp b/src/documentstyle.cpp
index 11d29e7..c74faba 100644
--- a/src/documentstyle.cpp
+++ b/src/documentstyle.cpp
@@ -457,7 +457,10 @@ DocumentStyle DocumentStyle::derive(const QUrl &url) const
if (kristall::EMOJIS_SUPPORTED &&
kristall::options.emojis_enabled)
{
+ // Redundant check to make compiler happy...
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
font.setFamilies(emojiFonts);
+ #endif
}
else
{