Changeset 651 for trunk/examples/multimedia/audiodevices/audiodevices.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/examples/multimedia/audiodevices/audiodevices.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 151 151 frequencyBox->clear(); 152 152 QList<int> freqz = deviceInfo.supportedFrequencies(); 153 for 153 for(int i = 0; i < freqz.size(); ++i) 154 154 frequencyBox->addItem(QString("%1").arg(freqz.at(i))); 155 if 155 if(freqz.size()) 156 156 settings.setFrequency(freqz.at(0)); 157 157 158 158 channelsBox->clear(); 159 159 QList<int> chz = deviceInfo.supportedChannels(); 160 for 160 for(int i = 0; i < chz.size(); ++i) 161 161 channelsBox->addItem(QString("%1").arg(chz.at(i))); 162 if 162 if(chz.size()) 163 163 settings.setChannels(chz.at(0)); 164 164
Note:
See TracChangeset
for help on using the changeset viewer.