summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorThanos Doukoudakis <thanos.doukoudakis@isode.com>2017-08-16 10:10:18 (GMT)
committerThanos Doukoudakis <thanos.doukoudakis@isode.com>2017-08-16 11:34:42 (GMT)
commit60486ab63efd9abceaf2f2cf30023d483b4c462f (patch)
tree87d607d5e1ed0f16b17f056e43350ba2eae1a202 /Swift
parent0728e9c712586c4ce06c100901f20cb0bb9e8a0e (diff)
downloadswift-60486ab63efd9abceaf2f2cf30023d483b4c462f.zip
swift-60486ab63efd9abceaf2f2cf30023d483b4c462f.tar.bz2
Fix inverted logging assert condition
This patch will fix a bug where SWIFT_LOG_ASSERT was logging the wrong information. Test-Information: Tested the logging assertion on Windows 10 (Qt 5.7) during the client exit. Change-Id: I7bffbe52a0b28c7577b1bad165313ea64a3f8e46
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtUIFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtUIFactory.cpp b/Swift/QtUI/QtUIFactory.cpp
index d3b30de..583c477 100644
--- a/Swift/QtUI/QtUIFactory.cpp
+++ b/Swift/QtUI/QtUIFactory.cpp
@@ -50,7 +50,7 @@ QtUIFactory::QtUIFactory(SettingsProviderHierachy* settings, QtSettingsProvider*
QtUIFactory::~QtUIFactory() {
SWIFT_LOG(debug) << "Entering QtUIFactory destructor. chatWindows size:" << chatWindows.size() << std::endl;
for (auto chat : chatWindows) {
- SWIFT_LOG_ASSERT(!chat.isNull(), debug) << "QtUIFactory has active chat windows and has not been reset properly" << std::endl;
+ SWIFT_LOG_ASSERT(chat.isNull(), debug) << "QtUIFactory has active chat windows and has not been reset properly" << std::endl;
}
}