Compare commits

..

2 Melakukan

2 mengubah file dengan 2 tambahan dan 1 penghapusan

Melihat File

@ -223,6 +223,7 @@ EntryConfig EntryProvider::readqsrunFile(const QString &path)
}
result.col = map["col"].toInt();
result.row = map["row"].toInt();
result.isTerminalCommand = map["terminal"] == "true";
return result;
}

Melihat File

@ -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