Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2021-02-23 08:43:27 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2021-02-23 23:15:07 +0300
commit82bbdc86e9087cfee51016611751f998b28c97fa (patch)
treec751b6fa8704fec0f6205c0add213a0f21ce4b36
parent1a74205eb4b1d86cfeebed5569c5f9998aef0810 (diff)
REFAC(shared): Remove leftover Windows code from OSInfo::getOSDisplayableVersion()
4fc7df5ddeb2a52cafdd67cbc0b0d3182f14cfdb removed the code that needed "_SYSTEM_INFO".
-rw-r--r--src/OSInfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/OSInfo.cpp b/src/OSInfo.cpp
index de7e158de..e665ddb62 100644
--- a/src/OSInfo.cpp
+++ b/src/OSInfo.cpp
@@ -200,9 +200,6 @@ QString OSInfo::getOSDisplayableVersion(const bool appendArch) {
return QString();
}
- _SYSTEM_INFO si;
- GetNativeSystemInfo(&si);
-
if (ovi.dwMajorVersion == 10) {
if (ovi.wProductType == VER_NT_WORKSTATION) {
os = QLatin1String("Windows 10");