bugfix - right click on local shared list won't abort the app

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
alexandrut 2009-07-08 22:15:00 +00:00
parent e9a2c24ab1
commit 0526f5db3a

View File

@ -190,7 +190,7 @@ AddFileAssotiationDialog::cleanFileType(QString ft)
}
//-- also, if filename still is not prepended with dot, do it
if ( (result.at(0)!='.')&&(! result.isEmpty()) )
if ((!result.isEmpty()) && (result.at(0)!='.'))
result.prepend('.');
//-- that's all