set valid sound category

This commit is contained in:
Dorian Zedler 2020-05-19 08:44:44 +02:00
parent ddc48986ad
commit 585d524a20
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -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);