mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/dboxinfo: unbreak height calculation
This commit is contained in:
@@ -212,7 +212,6 @@ void CDBoxInfoWidget::paint()
|
|||||||
int frontend_count = CFEManager::getInstance()->getFrontendCount();
|
int frontend_count = CFEManager::getInstance()->getFrontendCount();
|
||||||
if (frontend_count > 2)
|
if (frontend_count > 2)
|
||||||
height += mheight * (frontend_count - 2);
|
height += mheight * (frontend_count - 2);
|
||||||
height += mheight/2;
|
|
||||||
|
|
||||||
int icon_w = 0, icon_h = 0;
|
int icon_w = 0, icon_h = 0;
|
||||||
frameBuffer->getIconSize(NEUTRINO_ICON_REC, &icon_w, &icon_h);
|
frameBuffer->getIconSize(NEUTRINO_ICON_REC, &icon_w, &icon_h);
|
||||||
|
Reference in New Issue
Block a user