<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: KDE Connect.<br />kossebau requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11411">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Not sure what operator+ overload has been used exactly for the int,<br />
in any case it does not work as intended and needs e.g. an explicit<br />
QString::number() invocation.</p>
<p>Also start with number 2 for duplicated instances.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Start multiple instances of an MPRIS player (e.g. Gwenview). Before the<br />
second instance would get labelled with "Name []", with this patch it is<br />
labelled with "Name [2]".</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>BRANCH</strong><div><div>fixmultiplemprisplayernumberindicator</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11411">https://phabricator.kde.org/D11411</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/mpriscontrol/mpriscontrolplugin.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, KDE Connect<br /></div>