rename Song::GetShortFilename() to Song::GetName()

This commit is contained in:
unK
2008-09-25 20:18:16 +02:00
parent 25719527e9
commit 0d0e5e2912
6 changed files with 24 additions and 24 deletions

View File

@@ -115,7 +115,7 @@ string Song::GetFile() const
return !itsSong->file ? (itsGetEmptyFields ? "" : EMPTY_TAG) : itsSong->file;
}
string Song::GetShortFilename() const
string Song::GetName() const
{
return !itsSong->file ? (itsGetEmptyFields ? "" : EMPTY_TAG) : (itsSlash != string::npos && !isStream ? string(itsSong->file).substr(itsSlash+1) : itsSong->file);
}