diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-06-16 09:21:35 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-06-16 09:21:35 +0200 |
commit | da35e256f5da8d93cef0ab1bed8ca3e8ccfe5a43 (patch) | |
tree | 6eafa4110806eb354f899cbd4fea2b826c9fdf2c /examples/multimedia/spectrum/app/mainwidget.h | |
parent | 3287ad8656b700f245834f09458bc1613beb9757 (diff) | |
parent | fde5d6f7cce6118cac4ce7b92cd056225737917f (diff) |
Merge remote-tracking branch 'origin/dev' into 6.2
Change-Id: I0f29cdfa94948a39a895a7678bcfe3a631d2d4ed
Diffstat (limited to 'examples/multimedia/spectrum/app/mainwidget.h')
-rw-r--r-- | examples/multimedia/spectrum/app/mainwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimedia/spectrum/app/mainwidget.h b/examples/multimedia/spectrum/app/mainwidget.h index 2ff863a13..d2340daae 100644 --- a/examples/multimedia/spectrum/app/mainwidget.h +++ b/examples/multimedia/spectrum/app/mainwidget.h @@ -51,7 +51,7 @@ #ifndef MAINWIDGET_H #define MAINWIDGET_H -#include <QAudio> +#include <QAudioDevice> #include <QIcon> #include <QWidget> @@ -88,7 +88,7 @@ public: void timerEvent(QTimerEvent *event) override; public slots: - void stateChanged(QAudio::Mode mode, QAudio::State state); + void stateChanged(QAudioDevice::Mode mode, QAudio::State state); void formatChanged(const QAudioFormat &format); void spectrumChanged(qint64 position, qint64 length, const FrequencySpectrum &spectrum); |