Add more UI events and get backend threaded up.
This commit is contained in:
@@ -80,3 +80,15 @@ void WebInterface::voteUpdateFromServer(User* userVoting, bool forSkip)
|
||||
priv_int->playerUI->tempText->setText(priv_int->playerUI->tempText->text()+"vote");
|
||||
triggerUpdate();
|
||||
}
|
||||
|
||||
void WebInterface::voteNextSongFromServer(User* userVoting, AudioTrack* trackVoted)
|
||||
{
|
||||
priv_int->playerUI->tempText->setText(priv_int->playerUI->tempText->text()+"nextvote");
|
||||
triggerUpdate();
|
||||
}
|
||||
|
||||
void WebInterface::voteNextPollClosedFromServer()
|
||||
{
|
||||
priv_int->playerUI->tempText->setText(priv_int->playerUI->tempText->text()+"voteclosed");
|
||||
triggerUpdate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user