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;
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();
}