Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Add logging for IsWindows10OrGreater()
Dmitry Kazakov493ea316be1b
diff --git a/libs/global/KisUsageLogger.cpp b/libs/global/KisUsageLogger.cppindex 61f2d55355..0ca40195ba 100644--- a/libs/global/KisUsageLogger.cpp+++ b/libs/global/KisUsageLogger.cpp@@ -28,6 +28,7 @@#ifdef Q_OS_WIN#include "KisWindowsPackageUtils.h"#include <windows.h>+#include <versionhelpers.h>#endif#ifdef Q_OS_ANDROID@@ -148,6 +149,8 @@ QString KisUsageLogger::basicSystemInfo()systemInfo.append("\n Desktop: ").append(qgetenv("XDG_CURRENT_DESKTOP"));systemInfo.append("\n Appimage build: ").append(qEnvironmentVariableIsSet("APPIMAGE") ? "Yes" : "No");+#elif defined(Q_OS_WIN)+ systemInfo.append("\n Result of IsWindows10OrGreater(): ").append(IsWindows10OrGreater() ? "Yes" : "No");#endifsystemInfo.append("\n\n");