Changeset 561 for trunk/src/3rdparty/phonon/ds9/effect.cpp
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/3rdparty/phonon/ds9/effect.cpp
r2 r561 83 83 current += wcslen(current) + 1; //skip the unit 84 84 for(; *current; current += wcslen(current) + 1) { 85 values.append( QString::from Utf16((unsigned short*)current) );85 values.append( QString::fromWCharArray(current) ); 86 86 } 87 87 } … … 108 108 Phonon::EffectParameter::LogarithmicHint : Phonon::EffectParameter::Hints(0); 109 109 110 const QString n = QString::from Utf16((unsigned short*)name);110 const QString n = QString::fromWCharArray(name); 111 111 ret.append(Phonon::EffectParameter(i, n, hint, def, min, max, values)); 112 112 ::CoTaskMemFree(name); //let's free the memory … … 139 139 Q_ASSERT(params); 140 140 141 MP_DATA data = float(v.toDouble()); 142 params->SetParam(p.id(), data); 141 params->SetParam(p.id(), v.toFloat()); 143 142 } 144 143 }
Note:
See TracChangeset
for help on using the changeset viewer.