CUpnpBrowserGui: fix dline paint during directory selection

Dline was not removed on directory selection.


Origin commit data
------------------
Commit: baf441b5d0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-07-01 (Sat, 01 Jul 2017)
This commit is contained in:
2017-07-01 20:40:20 +02:00
parent 70130c8cff
commit 07964c4a82

View File

@@ -1226,8 +1226,11 @@ void CUpnpBrowserGui::paintDetails(UPnPEntry *entry, bool use_playing)
void CUpnpBrowserGui::paintItem2DetailsLine(int pos)
{
if (pos < 0)
if (pos < 0){
if (dline)
dline->kill();
return;
}
int xpos = m_x - DETAILSLINE_WIDTH;
int ypos1 = m_item_y + pos*m_item_height;