mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
channellist.cpp; fix kill dline
Origin commit data
------------------
Branch: ni/coolstream
Commit: 15e9663608
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-04-16 (Thu, 16 Apr 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1636,6 +1636,12 @@ void CChannelList::clearItem2DetailsLine()
|
|||||||
|
|
||||||
void CChannelList::paintItem2DetailsLine (int pos)
|
void CChannelList::paintItem2DetailsLine (int pos)
|
||||||
{
|
{
|
||||||
|
if (dline){
|
||||||
|
dline->kill(); //kill details line
|
||||||
|
delete dline;
|
||||||
|
dline = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (!g_settings.channellist_show_infobox)
|
if (!g_settings.channellist_show_infobox)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -1643,12 +1649,6 @@ void CChannelList::paintItem2DetailsLine (int pos)
|
|||||||
int ypos1 = y + theight + pos*fheight + (fheight/2)-2;
|
int ypos1 = y + theight + pos*fheight + (fheight/2)-2;
|
||||||
int ypos2 = y + height + (info_height/2)-2;
|
int ypos2 = y + height + (info_height/2)-2;
|
||||||
|
|
||||||
if (dline){
|
|
||||||
dline->kill(); //kill details line
|
|
||||||
delete dline;
|
|
||||||
dline = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// paint Line if detail info (and not valid list pos)
|
// paint Line if detail info (and not valid list pos)
|
||||||
if (pos >= 0) {
|
if (pos >= 0) {
|
||||||
if (dline == NULL)
|
if (dline == NULL)
|
||||||
|
Reference in New Issue
Block a user