From 40115befddb8e4cee0b23928baaeaae09058afcf Mon Sep 17 00:00:00 2001 From: scorpion-26 <58082714+scorpion-26@users.noreply.github.com> Date: Sun, 30 Apr 2023 18:21:12 +0200 Subject: [PATCH] SNI: Improve logging --- src/SNI.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SNI.cpp b/src/SNI.cpp index 9374e1c..b94e751 100644 --- a/src/SNI.cpp +++ b/src/SNI.cpp @@ -79,8 +79,8 @@ namespace SNI GVariantIter* data = nullptr; g_variant_iter_next(arrIter, "(iiay)", &width, &height, &data); - LOG(width); - LOG(height); + LOG("SNI: Width: " << width); + LOG("SNI: Height: " << height); item.w = width; item.h = height; item.iconData = new uint8_t[width * height * 4]; @@ -196,6 +196,7 @@ namespace SNI }); if (it != items.end()) { + LOG("SNI: " << name << " vanished!"); items.erase(it); InvalidateWidget(); }