Skip to content

Commit

Permalink
NSIS/Qt extension dialog: remove duplicates
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Kempf <[email protected]>
  • Loading branch information
Da2424 authored and jbkempf committed Jun 23, 2015
1 parent 903b3cb commit 5f6ba92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion extras/package/win32/NSIS/helpers/extensions.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ FunctionEnd
!insertmacro ${_action} Video ".m4v"
!insertmacro ${_action} Video ".mkv"
!insertmacro ${_action} Video ".mov"
!insertmacro ${_action} Video ".mp2"
!insertmacro ${_action} Video ".mp2v"
!insertmacro ${_action} Video ".mp4"
!insertmacro ${_action} Video ".mp4v"
Expand Down
15 changes: 7 additions & 8 deletions modules/gui/qt4/components/simple_preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1326,14 +1326,13 @@ void SPrefsPanel::assoDialog()
aTv( ".asf" ); aTv( ".avi" ); aTv( ".bik" ); aTv( ".divx" ); aTv( ".drc" );
aTv( ".dv" ); aTv( ".f4v" ); aTv( ".flv" ); aTv( ".gvi" ); aTv( ".gxf" );
aTv( ".m1v" ); aTv( ".m2t" ); aTv( ".m2v" ); aTv( ".m2ts" ); aTv( ".m4v" );
aTv( ".mkv" ); aTv( ".mov" ); aTv( ".mp2" ); aTv( ".mp2v" ); aTv( ".mp4" );
aTv( ".mp4v" ); aTv( ".mpa" ); aTv( ".mpe" ); aTv( ".mpeg" ); aTv( ".mpeg1" );
aTv( ".mpeg2" ); aTv( ".mpeg4" ); aTv( ".mpg" ); aTv( ".mpv2" ); aTv( ".mts" );
aTv( ".mtv" ); aTv( ".mxf" ); aTv( ".nsv" ); aTv( ".nuv" ); aTv( ".ogg" );
aTv( ".ogm" ); aTv( ".ogx" ); aTv( ".ogv" ); aTv( ".rec" ); aTv( ".rm" );
aTv( ".rmvb" ); aTv( ".rpl" ); aTv( ".thp" ); aTv( ".tod" ); aTv( ".ts" );
aTv( ".tts" ); aTv( ".vob" ); aTv( ".vro" ); aTv( ".webm" ); aTv( ".wmv" );
aTv( ".xesc" );
aTv( ".mkv" ); aTv( ".mov" ); aTv( ".mp2v" ); aTv( ".mp4" ); aTv( ".mp4v" );
aTv( ".mpa" ); aTv( ".mpe" ); aTv( ".mpeg" ); aTv( ".mpeg1" ); aTv( ".mpeg2" );
aTv( ".mpeg4" ); aTv( ".mpg" ); aTv( ".mpv2" ); aTv( ".mts" ); aTv( ".mtv" );
aTv( ".mxf" ); aTv( ".nsv" ); aTv( ".nuv" ); aTv( ".ogg" ); aTv( ".ogm" );
aTv( ".ogx" ); aTv( ".ogv" ); aTv( ".rec" ); aTv( ".rm" ); aTv( ".rmvb" );
aTv( ".rpl" ); aTv( ".thp" ); aTv( ".tod" ); aTv( ".ts" ); aTv( ".tts" );
aTv( ".vob" ); aTv( ".vro" ); aTv( ".webm" ); aTv( ".wmv" ); aTv( ".xesc" );
videoType->setCheckState( 0, ( i_temp > 0 ) ?
( ( i_temp == videoType->childCount() ) ?
Qt::Checked : Qt::PartiallyChecked )
Expand Down

0 comments on commit 5f6ba92

Please sign in to comment.