mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
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:
parent
76b3ccc1a5
commit
469da4914f
@ -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" : "";
|
||||
}
|
||||
|
@ -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>
|
||||
|
BIN
retroshare-gui/src/gui/images/mimetypes/patch.png
Normal file
BIN
retroshare-gui/src/gui/images/mimetypes/patch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 717 B |
Loading…
Reference in New Issue
Block a user