don't call QAudioOutput constructor unless sound is enabled

This commit is contained in:
Max-Wilhelm Bruker 2012-04-22 12:51:33 +02:00
parent 81d7c08f08
commit 8f6de6637f
4 changed files with 28 additions and 11 deletions

View file

@ -16,6 +16,7 @@ private:
QAudioOutput *audio;
private slots:
void cacheData();
void soundEnabledChanged();
public:
SoundEngine(QObject *parent = 0);
public slots: