Porównaj commity
2 Commity
2b1fb5b0c2
...
1ce3a6c397
Autor | SHA1 | Data | |
---|---|---|---|
1ce3a6c397 | |||
0183ad58b8 |
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Ładowanie…
Reference in New Issue
Block a user