Confronta commit

..

2 Commit

2 ha cambiato i file con 2 aggiunte e 1 eliminazioni

Vedi 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;
}

Vedi 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