Skip to content

Commit

Permalink
fix for slightly older Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
eteran committed Jan 13, 2025
1 parent 44020e3 commit f93ab0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Tags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) { // <np>
#else
if (line.startsWith(QChar(0x000c))) { // <np>
#endif
tagFileType = TFT_ETAGS;
} else {
tagFileType = TFT_CTAGS;
Expand Down

0 comments on commit f93ab0a

Please sign in to comment.