From c318a3da6c79c35b4d3ba3043d71228cbeda64f8 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 19 May 2012 22:27:53 +0200 Subject: Show video previews according to file content instead of the mimetype-string Show a video widget depending on the video content instead of the mimetype string: There are container formats which can be either audios or videos. Besides, the rmvb video files have a mimetype of "application/vnd.rn-realmedia", and these files can be recognized as videos correctly now. The patch has been provided by Hui Ni. REVIEW: 104988 FIXED-IN: 4.9 --- src/panels/information/informationpanelcontent.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/panels/information/informationpanelcontent.h') diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 1d964f515..0f90c5ea1 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -92,8 +92,7 @@ private slots: */ void markOutdatedPreview(); - void slotPlayingStarted(); - void slotPlayingStopped(); + void slotHasVideoChanged(bool hasVideo); /** * Is invoked after the file meta data configuration dialog has been -- cgit v1.3.1