]> git.sesse.net Git - vlc/commit
Qt: EPGView: fix performance hit
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 30 Mar 2011 21:43:00 +0000 (23:43 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 30 Mar 2011 22:09:35 +0000 (00:09 +0200)
commit41e32860383c388fa252775572d89328d1755e26
treea8ae58f8c9a3130c5a3cfa84fe336626a1b928d9
parent30c9622b865da40cf50912dc2f388c0bd88e58b9
Qt: EPGView: fix performance hit

On every data update, I was cleaning the overlapped entries, and on the
whole list. Apologies for the O(n*n).
modules/gui/qt4/components/epg/EPGItem.cpp
modules/gui/qt4/components/epg/EPGItem.hpp
modules/gui/qt4/components/epg/EPGView.cpp