do not fetch status after succesful setvol command, set it locally

This commit is contained in:
Andrzej Rybczak
2009-03-23 16:30:12 +01:00
parent 8e350292ad
commit f78e88e6aa
3 changed files with 10 additions and 10 deletions

View File

@@ -414,10 +414,7 @@ int main(int argc, char *argv[])
}
# endif // HAVE_TAGLIB_H
else
{
Mpd->SetVolume(Mpd->GetVolume()+1);
Mpd->UpdateStatus();
}
}
else if (Keypressed(input, Key.VolumeDown))
{
@@ -436,10 +433,7 @@ int main(int argc, char *argv[])
}
# endif // HAVE_TAGLIB_H
else
{
Mpd->SetVolume(Mpd->GetVolume()-1);
Mpd->UpdateStatus();
}
}
else if (Keypressed(input, Key.Delete))
{