Remove Qt5 compatibility ifdefs

This commit is contained in:
Tobias Fella
2023-09-11 01:26:25 +02:00
parent 539fdcaf2e
commit cee72b6d48
7 changed files with 1 additions and 35 deletions

View File

@@ -134,7 +134,7 @@ int ChatDocumentHandler::completionStartIndex() const
return 0;
}
#if !defined(Q_OS_ANDROID) && QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
#if !defined(Q_OS_ANDROID)
const long long cursor = cursorPosition();
#else
const auto cursor = cursorPosition();