Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.0.0
-
2acb594de22269942657317b689ce076b6356da0
Description
Following code piece shows the problem,
player = new QMediaPlayer; connect(player, SIGNAL(volumeChanged(int)), this, SLOT(volumeChanged(int))); player->setMedia(QUrl::fromLocalFile("/Users/me/Music/coolsong.mp3")); player->setVolume(100); player->play();
Expected result: no volumeChanged signal after playback starts
Actual result: a volumeChanged signal fired after playback starts, and the new volume is 50.