playlist: define main screen as non-pointer

This commit is contained in:
Andrzej Rybczak
2012-09-14 16:16:35 +02:00
parent 4d6ea660bc
commit 9c29082afe
13 changed files with 119 additions and 118 deletions

View File

@@ -199,7 +199,7 @@ int main(int argc, char **argv)
Status::trace();
int curr_pos = Mpd.GetCurrentSongPos();
if (curr_pos >= 0)
myPlaylist->main()->highlight(curr_pos);
myPlaylist->main().highlight(curr_pos);
}
# ifndef WIN32