summaryrefslogtreecommitdiff
path: root/src/envsecurity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/envsecurity.cpp')
-rw-r--r--src/envsecurity.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/envsecurity.cpp b/src/envsecurity.cpp
index ffb17c42..786291c6 100644
--- a/src/envsecurity.cpp
+++ b/src/envsecurity.cpp
@@ -206,9 +206,10 @@ QString SecurityProduct::toString() const
s += ", definitions outdated";
}
- if (m_guid.isNull()) {
- s += ", (no guid)";
- } else {
+ // all products have a guid, but the windows firewall is not actually a real
+ // one from wmi, it's queried independently in getWindowsFirewall() and has a
+ // null guid, so just don't log it
+ if (!m_guid.isNull()) {
s += ", " + m_guid.toString(QUuid::QUuid::WithoutBraces);
}