<table><tr><td style="">dfaure added a comment.
</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/D27654">View Revision</a></tr></table><br /><div><div><p>Since this is konsole specific, it's fine to use a Qt-specific argument.<br />
But IMHO you could also just remove the %i altogether.<br />
I never understood the idea of "take the icon from the desktop file, not the one the application would use by default".<br />
I mean, with some stretch of the imagination I can see N desktop files launching the same app with different options including the icon (why not...), but not like here where it will just look up the default konsole.desktop anyway.</p>
<p>Wait, you're actually passing the icon of the command being executed now (while the old code would end up using the stuff from konsole.desktop I think)....<br />
But it gets worse, konsole is a unique-application by default, isn't it? So this icon will never show, unless this is the first app that starts konsole -- and then all subsequent apps will end up with that icon of the first command.... This is all nonsense to me....</p>
<p>Option 1: remove %i<br />
Option 2: test all the scenarios above... (icon in app desktop file + konsole not already running, then launching konsole again ; icon in app desktop file + konsole already running with default parameters)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27654">https://phabricator.kde.org/D27654</a></div></div><br /><div><strong>To: </strong>wbauer, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>