| 367 | } |
| 368 | |
| 369 | bool ExecuteTerminalCommandTool::isCommandAllowed(const QString &command) const |
| 370 | { |
| 371 | const QStringList allowed = getAllowedCommands(); |
| 372 | return allowed.contains(command, Qt::CaseInsensitive); |
| 373 | } |
| 374 | |
| 375 | bool ExecuteTerminalCommandTool::isCommandSafe(const QString &command) const |
| 376 | { |
nothing calls this directly
no outgoing calls
no test coverage detected