diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-02-27 09:53:37 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-02-27 11:47:39 +0100 |
| commit | 414c4aa0a78f567380d4bdb40d55f607e321df4d (patch) | |
| tree | c0e5019048f886fc49ef4c2043ff1a64d0f71be3 /src/documentstyle.cpp | |
| parent | 23feba7e5a1396110d543a676e018bcbdfa50d39 (diff) | |
DocumentStyle: fix build error on unsupported emoji builds
Diffstat (limited to 'src/documentstyle.cpp')
| -rw-r--r-- | src/documentstyle.cpp | 3 |
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 { |
