qt4: playlist: allow to hide all but the index 0 column
authorJakob Leben <jleben@videolan.org>
Fri, 4 Sep 2009 01:06:26 +0000 (03:06 +0200)
committerJakob Leben <jleben@videolan.org>
Sat, 5 Sep 2009 15:50:26 +0000 (17:50 +0200)
commit3213591de7eab563ce47745ca5741aa7c737407b
treed6fff3f09ae37200c657e237a49e50be0137ebab
parent18005d7177a29104bb7fea64e4c841d6becd4c62
qt4: playlist: allow to hide all but the index 0 column

In some circumstances QTreeView does not behave properly if the column index 0 can hide/reappear.

Precisely, when column 0 is hidden and an item get's subitems, those subitems can not be D&D-ed.
If column 0 is then unhidden, trying to D&D the subitems will fail or result in unexpected behaviour.
modules/gui/qt4/components/playlist/standardpanel.cpp