* @brief Returns true when the running OS reports Windows 11 or later. */
| 44 | * @brief Returns true when the running OS reports Windows 11 or later. |
| 45 | */ |
| 46 | static bool isWindows11() |
| 47 | { |
| 48 | #if defined(Q_OS_WIN) |
| 49 | static const auto current = QOperatingSystemVersion::current(); |
| 50 | return current >= QOperatingSystemVersion::Windows11; |
| 51 | #else |
| 52 | return false; |
| 53 | #endif |
| 54 | } |
| 55 | |
| 56 | //-------------------------------------------------------------------------------------------------- |
| 57 | // Constructor & initialization |
no outgoing calls
no test coverage detected