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@2332 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
72a3396a58
commit
1db429537b
@ -1090,12 +1090,12 @@ void SearchDialog::setIconAndType(QTreeWidgetItem *item, QString &ext)
|
|||||||
item->setText(SR_TYPE_COL, QString::fromUtf8("Archive"));
|
item->setText(SR_TYPE_COL, QString::fromUtf8("Archive"));
|
||||||
}
|
}
|
||||||
else if (ext == "app" || ext == "bat" || ext == "cgi" || ext == "com" || ext == "bin" || ext == "exe" || ext == "js"
|
else if (ext == "app" || ext == "bat" || ext == "cgi" || ext == "com" || ext == "bin" || ext == "exe" || ext == "js"
|
||||||
|| ext == "pif" || ext == "py" || ext == "pl" || ext == "sh" || ext == "vb" || ext == "ws")
|
|| ext == "msi" ||ext == "pif" || ext == "py" || ext == "pl" || ext == "sh" || ext == "vb" || ext == "ws")
|
||||||
{
|
{
|
||||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeProgram.png"));
|
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeProgram.png"));
|
||||||
item->setText(SR_TYPE_COL, QString::fromUtf8("Program"));
|
item->setText(SR_TYPE_COL, QString::fromUtf8("Program"));
|
||||||
}
|
}
|
||||||
else if (ext == "iso" || ext == "nrg" || ext == "mdf" || ext == "img" || ext == "dmg" || ext == "bin" )
|
else if (ext == "iso" || ext == "nrg" || ext == "mdf" || ext == "img" || ext == "dmg" || ext == "bin" || ext == "uif" )
|
||||||
{
|
{
|
||||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeCDImage.png"));
|
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeCDImage.png"));
|
||||||
item->setText(SR_TYPE_COL, QString::fromUtf8("CD-Image"));
|
item->setText(SR_TYPE_COL, QString::fromUtf8("CD-Image"));
|
||||||
|
Loading…
Reference in New Issue
Block a user