fixup! Implement basic 'Terminal=' support for .desktop files
This commit is contained in:
vanhempi
0183ad58b8
commit
1ce3a6c397
@ -123,7 +123,7 @@ void Window::executeConfig(const EntryConfig &config)
|
||||
if(config.isTerminalCommand)
|
||||
{
|
||||
QString cmd = settingsProvider->getTerminalCommand();
|
||||
cmd.replace("%c", config.command);
|
||||
cmd.replace("%c", config.command + " " + config.arguments.join(' '));
|
||||
QProcess::startDetached(cmd);
|
||||
}
|
||||
else
|
||||
|
Ladataan…
Viittaa uudesa ongelmassa
Block a user