Window: executeConfig: Fix after refactoring for Qt 5.15
Refactoring for 5.15 broke this (d9b0be5063581fa1d3c19dc01632b97638db5e04), so fix it.
Šī revīzija ir iekļauta:
vecāks
d9b0be5063
revīzija
7c15d7b145
@ -125,7 +125,7 @@ void Window::executeConfig(const EntryConfig &config)
|
|||||||
QString cmd = settingsProvider->getTerminalCommand();
|
QString cmd = settingsProvider->getTerminalCommand();
|
||||||
cmd.replace("%c", config.command);
|
cmd.replace("%c", config.command);
|
||||||
QStringList args = QProcess::splitCommand(cmd);
|
QStringList args = QProcess::splitCommand(cmd);
|
||||||
QProcess::startDetached(cmd, args);
|
QProcess::startDetached(args[0], args);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Notiek ielāde…
x
Atsaukties uz šo jaunā problēmā
Block a user