* Added some extensions for Video Type

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-11-16 01:21:41 +00:00
parent fa1d123b62
commit 0acadf680a
3 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,17 @@
Changes for v0.4.x Changes for v0.4.x
*
* Bugfixes in CreateForumMsg
* Added auto update feature to the trust matrix
* Implemented a big trust table where people can see who trusts who, and who is trusted by who.
* Added Configurations to new file transfer.
* Enabled config in p3file-startup.cc
* Enabled resumeTransfers
* Added new RsFileConfigItem to serialiser.
* Extended ftFiMonitor to use Configuration.
* Bug fix to add/remove Shared Dirs.
* Increased Channel/forum periods to 3/12 months.
* Create channels directory correctly. * Create channels directory correctly.
* Added File Transfers to Config List. * Added File Transfers to Config List.
* Connected statusChange() monitor callback. * Connected statusChange() monitor callback.

View File

@ -169,7 +169,7 @@ void SearchDialog::initialiseFileTypeMappings()
SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_AUDIO, SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_AUDIO,
"aac aif iff m3u mid midi mp3 mpa ogg ra ram wav wma"); "aac aif iff m3u mid midi mp3 mpa ogg ra ram wav wma");
SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_VIDEO, SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_VIDEO,
"3gp asf asx avi mov mp4 mpeg mpg qt rm swf vob wmv"); "3gp asf asx avi mov mp4 mkv flv mpeg mpg qt rm swf vob wmv");
SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_PICTURE, SearchDialog::FileTypeExtensionMap->insert(FILETYPE_IDX_PICTURE,
"3dm 3dmf ai bmp drw dxf eps gif ico indd jpe jpeg jpg mng pcx pcc pct pgm " "3dm 3dmf ai bmp drw dxf eps gif ico indd jpe jpeg jpg mng pcx pcc pct pgm "
"pix png psd psp qxd qxprgb sgi svg tga tif tiff xbm xcf"); "pix png psd psp qxd qxprgb sgi svg tga tif tiff xbm xcf");

View File

@ -256,7 +256,9 @@ RemoteDirModel::RemoteDirModel(bool mode, QObject *parent)
QIcon icon(":/images/FileTypePicture.png"); QIcon icon(":/images/FileTypePicture.png");
return icon; return icon;
} }
else if (ext == "avi" || ext == "mpg" || ext == "mpeg" || ext == "wmv") else if (ext == "avi" || ext == "mpg" || ext == "mpeg" || ext == "wmv"
|| ext == "mkv" || ext == "mp4" || ext == "flv" || ext == "mov"
|| ext == "vob" || ext == "qt" || ext == "rm" || ext == "3gp")
{ {
//setIcon(0, QIcon(":/images/videofile.png")); //setIcon(0, QIcon(":/images/videofile.png"));
QIcon icon(":/images/FileTypeVideo.png"); QIcon icon(":/images/FileTypeVideo.png");