[vlc-commits] commit: skins2: fix wrong test (it's the other way around) (Erwan Tulou )
git at videolan.org
git at videolan.org
Sun May 9 23:37:36 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu May 6 16:44:09 2010 +0200| [6788907a9e48575c2a5412dc96e20c4f873551be] | committer: Jean-Baptiste Kempf
skins2: fix wrong test (it's the other way around)
(cherry picked from commit 86ca1b563da49e869e7ef3c62dab2a3c1c58916b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=6788907a9e48575c2a5412dc96e20c4f873551be
---
modules/gui/skins2/vars/playtree.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 4cbd1be..2407e38 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -192,7 +192,7 @@ void Playtree::onDelete( int i_id )
{
if( item->parent() )
item->parent()->removeChild( item );
- descr.b_visible = item->parent() ? true : item->parent()->m_expanded;
+ descr.b_visible = item->parent() ? item->parent()->m_expanded : true;
notify( &descr );
}
}
More information about the vlc-commits
mailing list