Commit cea122b1 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: EPG: fix mutex position

parent 979bcb5e
...@@ -277,9 +277,9 @@ EPGView::~EPGView() ...@@ -277,9 +277,9 @@ EPGView::~EPGView()
void EPGView::updateDuration() void EPGView::updateDuration()
{ {
QDateTime lastItem; QDateTime lastItem;
mutex.lock();
QList<QGraphicsItem*> list = items(); QList<QGraphicsItem*> list = items();
mutex.lock();
for ( int i = 0; i < list.count(); ++i ) for ( int i = 0; i < list.count(); ++i )
{ {
EPGItem* item = qgraphicsitem_cast<EPGItem*>( list.at( i ) ); EPGItem* item = qgraphicsitem_cast<EPGItem*>( list.at( i ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment