mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-21 18:52:49 +00:00
SNI: Improve logging
This commit is contained in:
parent
25912c7e35
commit
40115befdd
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue