kmix: use loop-local variable

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-04 13:58:33 +00:00
parent ff6de85fc2
commit 661a58e414

View file

@ -284,8 +284,7 @@ int Mixer_MPRIS2::addAllRunningPlayersAndInitHotplug()
return 1;
}
QString busDestination;
foreach ( busDestination , repl.value() )
foreach (QString busDestination , repl.value() )
{
if ( busDestination.startsWith("org.mpris.MediaPlayer2") )
{