[vlmc-devel] commit: MediaCellView: Don't deactivate the whole cell, so it can be deleted. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sun Apr 18 17:12:00 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Apr 16 01:37:19 2010 +0200| [bce209ed8213a25064b4a3e4e47a1e84088686d5] | committer: Hugo Beauzée-Luyssen
MediaCellView: Don't deactivate the whole cell, so it can be deleted.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=bce209ed8213a25064b4a3e4e47a1e84088686d5
---
src/Gui/library/MediaCellView.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/Gui/library/MediaCellView.cpp b/src/Gui/library/MediaCellView.cpp
index 16cc4ab..1f8d6b5 100644
--- a/src/Gui/library/MediaCellView.cpp
+++ b/src/Gui/library/MediaCellView.cpp
@@ -56,7 +56,9 @@ MediaCellView::MediaCellView( Clip* clip, QWidget *parent ) :
m_ui->arrow->hide();
}
if ( clip->getMedia()->isMetadataComputed() == false )
- setEnabled( false );
+ {
+ m_ui->thumbnail->setEnabled( false );
+ }
connect( clip->getMedia(), SIGNAL( metaDataComputed(const Media*) ),
this, SLOT( metadataUpdated( const Media*) ) );
connect( clip->getMedia(), SIGNAL( snapshotComputed(const Media*) ),
@@ -76,7 +78,7 @@ void
MediaCellView::metadataUpdated( const Media *media )
{
setLength( media->lengthMS() );
- setEnabled( true );
+ m_ui->thumbnail->setEnabled( true );
}
void
More information about the Vlmc-devel
mailing list