diff --git a/retroshare-gui/src/gui/SearchDialog.cpp b/retroshare-gui/src/gui/SearchDialog.cpp index ddcbc4822..2c7602ea6 100644 --- a/retroshare-gui/src/gui/SearchDialog.cpp +++ b/retroshare-gui/src/gui/SearchDialog.cpp @@ -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" ) { diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 7a2e800aa..b7b0e99a3 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -339,6 +339,7 @@ images/loader/16-loader.gif images/loader/32-loader.gif images/loader/progress.gif + images/mimetypes/pdf.png images/textedit/textbold.png images/textedit/textitalic.png images/textedit/textunder.png diff --git a/retroshare-gui/src/gui/images/mimetypes/pdf.png b/retroshare-gui/src/gui/images/mimetypes/pdf.png new file mode 100644 index 000000000..73946b90d Binary files /dev/null and b/retroshare-gui/src/gui/images/mimetypes/pdf.png differ diff --git a/retroshare-gui/src/gui/images/mimetypes/source_c.png b/retroshare-gui/src/gui/images/mimetypes/source_c.png new file mode 100644 index 000000000..51e7d3976 Binary files /dev/null and b/retroshare-gui/src/gui/images/mimetypes/source_c.png differ diff --git a/retroshare-gui/src/gui/images/mimetypes/source_cpp.png b/retroshare-gui/src/gui/images/mimetypes/source_cpp.png new file mode 100644 index 000000000..522dc111f Binary files /dev/null and b/retroshare-gui/src/gui/images/mimetypes/source_cpp.png differ diff --git a/retroshare-gui/src/gui/images/mimetypes/source_h.png b/retroshare-gui/src/gui/images/mimetypes/source_h.png new file mode 100644 index 000000000..116790f4e Binary files /dev/null and b/retroshare-gui/src/gui/images/mimetypes/source_h.png differ