mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-10 07:47:16 -04:00
clang-tidy: Apply modernize-loop-convert everywhere (#6481)
Co-authored-by: allejok96 <allejok96@gmail.com> Co-authored-by: Dominic Clark <mrdomclark@gmail.com>
This commit is contained in:
@@ -375,15 +375,12 @@ void VstPlugin::setParameterDump( const QMap<QString, QString> & _pdump )
|
||||
{
|
||||
message m( IdVstSetParameterDump );
|
||||
m.addInt( _pdump.size() );
|
||||
for( QMap<QString, QString>::ConstIterator it = _pdump.begin();
|
||||
it != _pdump.end(); ++it )
|
||||
for (const auto& str : _pdump)
|
||||
{
|
||||
const VstParameterDumpItem item =
|
||||
{
|
||||
( *it ).section( ':', 0, 0 ).toInt(),
|
||||
"",
|
||||
LocaleHelper::toFloat((*it).section(':', 2, -1))
|
||||
} ;
|
||||
str.section(':', 0, 0).toInt(), "", LocaleHelper::toFloat(str.section(':', 2, -1))
|
||||
};
|
||||
m.addInt( item.index );
|
||||
m.addString( item.shortLabel );
|
||||
m.addFloat( item.value );
|
||||
|
||||
Reference in New Issue
Block a user