Fix system version check for dark taskbar support.

Fixes #27056.
This commit is contained in:
John Preston 2023-11-07 11:47:10 +04:00
parent ef685aa0da
commit b1459e41d3

View file

@ -38,7 +38,7 @@ constexpr auto kTooltipDelay = crl::time(10000);
QOperatingSystemVersion::Windows,
10,
0,
17763);
18282);
static const auto kSupported = (kSystemVersion >= kDarkModeAddedVersion);
if (!kSupported) {
return std::nullopt;