Skip to content

Commit

Permalink
Qt/EPG: deactivate crashing code on Win32 for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Jun 15, 2010
1 parent e29018e commit 89c1b2c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/gui/qt4/components/epg/EPGView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ void EPGView::setStartTime( const QDateTime& startTime )

for ( int i = 0; i < itemList.count(); ++i )
{
#ifndef WIN32
EPGItem* item = dynamic_cast<EPGItem*>( itemList.at( i ) );
#else
EPGItem *item = NULL;
#endif
if ( !item ) continue;
item->setStart( item->start().addSecs( diff ) );
}
Expand Down Expand Up @@ -110,7 +114,11 @@ void EPGView::updateDuration()

for ( int i = 0; i < list.count(); ++i )
{
#ifndef WIN32
EPGItem* item = dynamic_cast<EPGItem*>( list.at( i ) );
#else
EPGItem *item = NULL;
#endif
if ( !item ) continue;
QDateTime itemEnd = item->start().addSecs( item->duration() );

Expand Down

0 comments on commit 89c1b2c

Please sign in to comment.