Compare commits
No commits in common. "1ce3a6c39726ae42e6ca59aca5ee8b232685af7e" and "2b1fb5b0c2757bfda0503c9ad0d941541dc22cde" have entirely different histories.
1ce3a6c397
...
2b1fb5b0c2
@ -223,7 +223,6 @@ EntryConfig EntryProvider::readqsrunFile(const QString &path)
|
|||||||
}
|
}
|
||||||
result.col = map["col"].toInt();
|
result.col = map["col"].toInt();
|
||||||
result.row = map["row"].toInt();
|
result.row = map["row"].toInt();
|
||||||
result.isTerminalCommand = map["terminal"] == "true";
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ void Window::executeConfig(const EntryConfig &config)
|
|||||||
if(config.isTerminalCommand)
|
if(config.isTerminalCommand)
|
||||||
{
|
{
|
||||||
QString cmd = settingsProvider->getTerminalCommand();
|
QString cmd = settingsProvider->getTerminalCommand();
|
||||||
cmd.replace("%c", config.command + " " + config.arguments.join(' '));
|
cmd.replace("%c", config.command);
|
||||||
QProcess::startDetached(cmd);
|
QProcess::startDetached(cmd);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user