mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -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
6 changed files with 6 additions and 0 deletions
|
@ -1105,6 +1105,11 @@ void SearchDialog::setIconAndType(QTreeWidgetItem *item, QString &ext)
|
|||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeDocument.png"));
|
||||
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"
|
||||
|| ext == "reg" || ext == "sxc" || ext == "odt" || ext == "ods" || ext == "dot" || ext == "ppt" || ext == "css" || ext == "crt" )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue