Window: executeConfig: Fix after refactoring for Qt 5.15

Refactoring for 5.15 broke this (d9b0be5063),
so fix it.
Этот коммит содержится в:
Albert S. 2021-05-08 20:52:32 +02:00
родитель d9b0be5063
Коммит 7c15d7b145
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -125,7 +125,7 @@ void Window::executeConfig(const EntryConfig &config)
QString cmd = settingsProvider->getTerminalCommand();
cmd.replace("%c", config.command);
QStringList args = QProcess::splitCommand(cmd);
QProcess::startDetached(cmd, args);
QProcess::startDetached(args[0], args);
}
else
{