mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
src/gui/timerlist.cpp dont check empty timerlist
Origin commit data
------------------
Commit: f7cfe0256b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-08 (Thu, 08 Dec 2016)
This commit is contained in:
@@ -1376,6 +1376,8 @@ void CTimerList::paintHead()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CTimerList::paintFoot()
|
void CTimerList::paintFoot()
|
||||||
|
{
|
||||||
|
if(!timerlist.empty() )
|
||||||
{
|
{
|
||||||
CTimerd::responseGetTimer* timer=&timerlist[selected];
|
CTimerd::responseGetTimer* timer=&timerlist[selected];
|
||||||
if (timer != NULL)
|
if (timer != NULL)
|
||||||
@@ -1386,7 +1388,7 @@ void CTimerList::paintFoot()
|
|||||||
else
|
else
|
||||||
TimerListButtons[4].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
TimerListButtons[4].button = NEUTRINO_ICON_BUTTON_DUMMY_SMALL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//shadow
|
//shadow
|
||||||
frameBuffer->paintBoxRel(x + OFFSET_SHADOW, y + height - footerHeight, width, footerHeight + OFFSET_SHADOW, COL_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
frameBuffer->paintBoxRel(x + OFFSET_SHADOW, y + height - footerHeight, width, footerHeight + OFFSET_SHADOW, COL_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user