mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
added icon for rscollection file type
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
50d5c1159d
commit
f77bb8136f
6 changed files with 13 additions and 3 deletions
|
@ -303,6 +303,8 @@ QVariant RetroshareDirModel::decorationRole(const DirDetails& details,int coln)
|
|||
return QIcon(":/images/FileTypeDocument.png");
|
||||
else if (ext == "html" || ext == "htm" || ext == "php")
|
||||
return QIcon(":/images/FileTypeDocument.png");
|
||||
else if (ext == "rscollection")
|
||||
return QIcon(":/images/mimetypes/rscollection-16.png");
|
||||
else
|
||||
return QIcon(":/images/FileTypeAny.png");
|
||||
}
|
||||
|
@ -914,7 +916,7 @@ void RetroshareDirModel::createCollectionFile(const QModelIndexList &list)
|
|||
return ;
|
||||
}
|
||||
|
||||
QString filename = QFileDialog::getSaveFileName(NULL,tr("Create selection file"),".",tr("Collection files")+" (*.rsCollection)") ;
|
||||
QString filename = QFileDialog::getSaveFileName(NULL,tr("Create selection file"),".",tr("Collection files")+" (*.rscollection)") ;
|
||||
|
||||
if(filename.isNull())
|
||||
return ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue