set valid sound category
This commit is contained in:
parent
ddc48986ad
commit
585d524a20
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ ScStwSoundPlayer::ScStwSoundPlayer(QObject *parent) : QObject(parent)
|
|||
}
|
||||
|
||||
this->audioOutput = new QAudioOutput(format, this);
|
||||
this->audioOutput->setCategory("ScStw start sound");
|
||||
this->audioOutput->setCategory("media");
|
||||
|
||||
connect(this->audioOutput, SIGNAL(stateChanged(QAudio::State)), this, SLOT(handleStateChanged(QAudio::State)));
|
||||
connect(this, &ScStwSoundPlayer::playbackStarted, this->waitLoop, &QEventLoop::quit);
|
||||
|
|
Reference in a new issue