mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 11:03:54 -07:00
don't call QAudioOutput constructor unless sound is enabled
This commit is contained in:
parent
81d7c08f08
commit
8f6de6637f
4 changed files with 28 additions and 11 deletions
|
|
@ -16,6 +16,7 @@ private:
|
|||
QAudioOutput *audio;
|
||||
private slots:
|
||||
void cacheData();
|
||||
void soundEnabledChanged();
|
||||
public:
|
||||
SoundEngine(QObject *parent = 0);
|
||||
public slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue