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

@@ -58,7 +58,7 @@ void PrepareSearchEngine(Song &s)
s.Clear();
mSearcher->Clear();
mSearcher->Reset();
mSearcher->AddOption(make_pair("[.b]Filename:[/b] " + s.GetShortFilename(), Song()));
mSearcher->AddOption(make_pair("[.b]Filename:[/b] " + s.GetName(), Song()));
mSearcher->AddOption(make_pair("[.b]Title:[/b] " + s.GetTitle(), Song()));
mSearcher->AddOption(make_pair("[.b]Artist:[/b] " + s.GetArtist(), Song()));
mSearcher->AddOption(make_pair("[.b]Album:[/b] " + s.GetAlbum(), Song()));
@@ -121,7 +121,7 @@ void Search(Song &s)
if (!search_case_sensitive)
{
string t;
t = copy.GetShortFilename();
t = copy.GetName();
transform(t.begin(), t.end(), t.begin(), tolower);
copy.SetFile(t);
@@ -146,7 +146,7 @@ void Search(Song &s)
copy.SetComment(t);
}
else
copy.SetFile(copy.GetShortFilename());
copy.SetFile(copy.GetName());
if (search_match_to_pattern)
{