mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kio: correct arguments passed to konsole executable
fixes starting programs that require terminal from Plasma menu for example %i no longer expands to "--icon '%i'", I changed it to be so some time ago so that different arguments can be passed along with %i to programs if they support icon option but with different option name %m is deprecated, for reference: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
decb354a0d
commit
368cfcd2f4
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ QStringList KRun::processDesktopExec(const KService &_service, const KUrl::List&
|
|||
if (!_service.path().isEmpty()) {
|
||||
terminal += " --workdir " + KShell::quoteArg(_service.path());
|
||||
}
|
||||
terminal += " -caption=%c %i %m";
|
||||
terminal += " --icon '%i' --caption '%c'";
|
||||
}
|
||||
terminal += ' ';
|
||||
terminal += _service.terminalOptions();
|
||||
|
|
Loading…
Add table
Reference in a new issue