From 414c4aa0a78f567380d4bdb40d55f607e321df4d Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Sat, 27 Feb 2021 09:53:37 +1100 Subject: DocumentStyle: fix build error on unsupported emoji builds --- src/documentstyle.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3