summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/audiodevices/audiodevices.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
commitb111d0bb1f0483d507c758810a0f247cb8dd82c0 (patch)
tree9db9a693360c607a53d1ec8c3c421b338fb53fef /examples/multimedia/audiodevices/audiodevices.cpp
parent3e2c214dc217ac677733e2a56ac9f17ff0c3196f (diff)
parent95db13345cd7b6b7cac8725fe2879aaf80233818 (diff)
downloadQt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.zip
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.gz
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.bz2
Merge commit 'origin/4.6' into 4.6-ce
Diffstat (limited to 'examples/multimedia/audiodevices/audiodevices.cpp')
-rw-r--r--examples/multimedia/audiodevices/audiodevices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/audiodevices/audiodevices.cpp b/examples/multimedia/audiodevices/audiodevices.cpp
index 4198605..e205e03 100644
--- a/examples/multimedia/audiodevices/audiodevices.cpp
+++ b/examples/multimedia/audiodevices/audiodevices.cpp
@@ -148,7 +148,7 @@ void AudioTest::modeChanged(int idx)
mode=QAudio::AudioOutput;
deviceBox->clear();
- foreach (const QAudioDeviceInfo &deviceInfo, QAudioDeviceInfo::deviceList(mode))
+ foreach (const QAudioDeviceInfo &deviceInfo, QAudioDeviceInfo::availableDevices(mode))
deviceBox->addItem(deviceInfo.deviceName(), qVariantFromValue(deviceInfo));
}