mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
update search extensions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8404963d73
commit
99b56b50dd
@ -1105,6 +1105,11 @@ void SearchDialog::setIconAndType(QTreeWidgetItem *item, QString &ext)
|
|||||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeDocument.png"));
|
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeDocument.png"));
|
||||||
item->setText(SR_TYPE_COL, QString::fromUtf8("Document"));
|
item->setText(SR_TYPE_COL, QString::fromUtf8("Document"));
|
||||||
}
|
}
|
||||||
|
else if (ext == "pdf" )
|
||||||
|
{
|
||||||
|
item->setIcon(SR_NAME_COL, QIcon(":/images/mimetypes/pdf.png"));
|
||||||
|
item->setText(SR_TYPE_COL, QString::fromUtf8("Document"));
|
||||||
|
}
|
||||||
else if (ext == "doc" || ext == "rtf" || ext == "sxw" || ext == "xls" || ext == "pps" || ext == "xml" || ext == "nfo"
|
else if (ext == "doc" || ext == "rtf" || ext == "sxw" || ext == "xls" || ext == "pps" || ext == "xml" || ext == "nfo"
|
||||||
|| ext == "reg" || ext == "sxc" || ext == "odt" || ext == "ods" || ext == "dot" || ext == "ppt" || ext == "css" || ext == "crt" )
|
|| ext == "reg" || ext == "sxc" || ext == "odt" || ext == "ods" || ext == "dot" || ext == "ppt" || ext == "css" || ext == "crt" )
|
||||||
{
|
{
|
||||||
|
@ -339,6 +339,7 @@
|
|||||||
<file>images/loader/16-loader.gif</file>
|
<file>images/loader/16-loader.gif</file>
|
||||||
<file>images/loader/32-loader.gif</file>
|
<file>images/loader/32-loader.gif</file>
|
||||||
<file>images/loader/progress.gif</file>
|
<file>images/loader/progress.gif</file>
|
||||||
|
<file>images/mimetypes/pdf.png</file>
|
||||||
<file>images/textedit/textbold.png</file>
|
<file>images/textedit/textbold.png</file>
|
||||||
<file>images/textedit/textitalic.png</file>
|
<file>images/textedit/textitalic.png</file>
|
||||||
<file>images/textedit/textunder.png</file>
|
<file>images/textedit/textunder.png</file>
|
||||||
|
BIN
retroshare-gui/src/gui/images/mimetypes/pdf.png
Normal file
BIN
retroshare-gui/src/gui/images/mimetypes/pdf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 700 B |
BIN
retroshare-gui/src/gui/images/mimetypes/source_c.png
Normal file
BIN
retroshare-gui/src/gui/images/mimetypes/source_c.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 626 B |
BIN
retroshare-gui/src/gui/images/mimetypes/source_cpp.png
Normal file
BIN
retroshare-gui/src/gui/images/mimetypes/source_cpp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 B |
BIN
retroshare-gui/src/gui/images/mimetypes/source_h.png
Normal file
BIN
retroshare-gui/src/gui/images/mimetypes/source_h.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 547 B |
Loading…
Reference in New Issue
Block a user