Commited changes from Imanuel

Added flac and m4a to the audio extensions. Optimized "toUpper" on searching for the extension.
Convert the extension to lower case to find mixed cases too - mP3, AVi, ...


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-12-09 20:49:41 +00:00
parent 5617b3cdda
commit e0a2883eaf
4 changed files with 21 additions and 19 deletions

View file

@ -106,7 +106,7 @@ signals:
private:
QString getPeerName(const std::string& peer_id) const ;
static QIcon getIconFromExtension(const QString&) ;
static QIcon getIconFromExtension(QString) ;
QStandardItemModel *DLListModel;
QStandardItemModel *ULListModel;