Added a default FileType icon for the "patch" and "diff" extensions.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6983 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-01-03 19:32:53 +00:00
parent 76b3ccc1a5
commit 469da4914f
3 changed files with 4 additions and 0 deletions

View File

@ -60,8 +60,11 @@ static QString getInfoFromFilename(const QString& filename, bool anyForUnknown,
return image ? ":/images/FileTypeAny.png" : QApplication::translate("FilesDefs", "Subtitles");
} else if (ext == "nds") {
return image ? ":/images/FileTypeAny.png" : QApplication::translate("FilesDefs", "Nintendo DS Rom");
} else if (ext == "patch" || ext == "diff") {
return image ? ":/images/mimetypes/patch.png" : QApplication::translate("FilesDefs", "Patch");
}
if (anyForUnknown) {
return image ? ":/images/FileTypeAny.png" : "";
}

View File

@ -449,6 +449,7 @@
<file>images/loader/progress.gif</file>
<file>images/mimetypes/pdf.png</file>
<file>images/mimetypes/rscollection-16.png</file>
<file>images/mimetypes/patch.png</file>
<file>images/view-certificate-copy-32.png</file>
<file>images/view-certificate-export-32.png</file>
<file>images/textedit/textbold.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B