SNI: Improve logging

This commit is contained in:
scorpion-26 2023-04-30 18:21:12 +02:00
parent 25912c7e35
commit 40115befdd

View file

@ -79,8 +79,8 @@ namespace SNI
GVariantIter* data = nullptr; GVariantIter* data = nullptr;
g_variant_iter_next(arrIter, "(iiay)", &width, &height, &data); g_variant_iter_next(arrIter, "(iiay)", &width, &height, &data);
LOG(width); LOG("SNI: Width: " << width);
LOG(height); LOG("SNI: Height: " << height);
item.w = width; item.w = width;
item.h = height; item.h = height;
item.iconData = new uint8_t[width * height * 4]; item.iconData = new uint8_t[width * height * 4];
@ -196,6 +196,7 @@ namespace SNI
}); });
if (it != items.end()) if (it != items.end())
{ {
LOG("SNI: " << name << " vanished!");
items.erase(it); items.erase(it);
InvalidateWidget(); InvalidateWidget();
} }