diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-11 07:06:04 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-11 07:53:29 (GMT) |
commit | ed8103e715aee24c3ff6963c68a6b3bb9e3a7288 (patch) | |
tree | 838fdc74fbeb51a80b9d0d6080ec5fc06c02b288 /src | |
parent | 81a86620bc6664f6b08ea0c1bec89192717c0343 (diff) | |
download | Qt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.zip Qt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.tar.gz Qt-ed8103e715aee24c3ff6963c68a6b3bb9e3a7288.tar.bz2 |
Documentation fix.
Reviewed-by:Dmytro Poplavskiy
Diffstat (limited to 'src')
-rw-r--r-- | src/multimedia/audio/qaudioinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp index fd892dd..10bab01 100644 --- a/src/multimedia/audio/qaudioinput.cpp +++ b/src/multimedia/audio/qaudioinput.cpp @@ -95,7 +95,7 @@ QT_BEGIN_NAMESPACE format.setByteOrder(QAudioFormat::LittleEndian); format.setSampleType(QAudioFormat::UnSignedInt); - if (QAudioDeviceInfo info(QAudioDeviceInfo::defaultInputDevice()); + QAudioDeviceInfo info = QAudioDeviceInfo::defaultInputDevice(); if (!info.isFormatSupported(format)) { qWarning()<<"default format not supported try to use nearest"; format = info.nearestFormat(format); |