mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
update extensions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2480 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aae699b313
commit
25e1eda6ba
@ -1168,6 +1168,16 @@ 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 == "sub" || ext == "srt")
|
||||
{
|
||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeAny.png"));
|
||||
item->setText(SR_TYPE_COL, QString::fromUtf8("Subtitles"));
|
||||
}
|
||||
else if (ext == "nds")
|
||||
{
|
||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeAny.png"));
|
||||
item->setText(SR_TYPE_COL, QString::fromUtf8("Nintendo DS Rom"));
|
||||
}
|
||||
else
|
||||
{
|
||||
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeAny.png"));
|
||||
|
Loading…
Reference in New Issue
Block a user