Hi,

I have a piece of music which i want to play it continuously. I used the following codes, it can play but the music doesn't loop.

music = Phonon::createPlayer(Phonon::MusicCategory,Phonon::MediaSource(":/music/sound/AfternoonStreets.wav"));
connect(music, SIGNAL(finished()), SLOT(musicFinished()));

void MainWindow::musicFinished(){
music->play();
}

any idea why? what am i doing wrong?