MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / isWindows11

Function isWindows11

app/src/Platform/NativeWindow_CSD.cpp:46–54  ·  view source on GitHub ↗

* @brief Returns true when the running OS reports Windows 11 or later. */

Source from the content-addressed store, hash-verified

44 * @brief Returns true when the running OS reports Windows 11 or later.
45 */
46static 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

Callers 6

csdAvailableMethod · 0.85
frameMarginMethod · 0.85
frameTopInsetMethod · 0.85
addWindowMethod · 0.85
onThemeChangedMethod · 0.85
onActiveChangedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected