From f93ab0a774cfa239342a7a3ce5f3e7ed1e91af10 Mon Sep 17 00:00:00 2001 From: Evan Teran Date: Mon, 13 Jan 2025 00:50:55 -0500 Subject: [PATCH] fix for slightly older Qt5 --- src/Tags.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tags.cpp b/src/Tags.cpp index f2352169..5b315a10 100644 --- a/src/Tags.cpp +++ b/src/Tags.cpp @@ -365,7 +365,11 @@ int loadTagsFile(const QString &tagSpec, int index, int recLevel) { etags or ctags file. */ if (tagFileType == TFT_CHECK) { +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) if (line.startsWith(QChar::FormFeed)) { // +#else + if (line.startsWith(QChar(0x000c))) { // +#endif tagFileType = TFT_ETAGS; } else { tagFileType = TFT_CTAGS;