shared SandBoxedProcessor: Return SaveFileResult, remove defines

Not entirely ideal as SandboxedProcessor does not save anything,
but an improvement nevertheless over the current mess
Esse commit está contido em:
2022-06-24 17:10:43 +02:00
commit b6b3e2f3c0
5 arquivos alterados com 9 adições e 11 exclusões

Ver Arquivo

@@ -98,7 +98,7 @@ int main(int argc, char *argv[])
QString file = args.at(1);
SandboxedProcessor processor(file);
return processor.process();
return static_cast<int>(processor.process());
}
Command *cmd = commandFromName(commandName, dbService);
if(cmd != nullptr)