summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/spectrum/app/mainwidget.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-06-16 09:21:35 +0200
committerLars Knoll <lars.knoll@qt.io>2021-06-16 09:21:35 +0200
commitda35e256f5da8d93cef0ab1bed8ca3e8ccfe5a43 (patch)
tree6eafa4110806eb354f899cbd4fea2b826c9fdf2c /examples/multimedia/spectrum/app/mainwidget.h
parent3287ad8656b700f245834f09458bc1613beb9757 (diff)
parentfde5d6f7cce6118cac4ce7b92cd056225737917f (diff)
Merge remote-tracking branch 'origin/dev' into 6.2
Diffstat (limited to 'examples/multimedia/spectrum/app/mainwidget.h')
-rw-r--r--examples/multimedia/spectrum/app/mainwidget.h4
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);