mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 20:50:09 +08:00
Remove unused
This commit is contained in:
parent
3d2ce33a75
commit
86e7e5b3b1
@ -52,15 +52,12 @@ namespace NekoRay::sys {
|
||||
|
||||
if (NekoRay::dataStore->flag_linux_run_core_as_admin && dynamic_cast<CoreProcess *>(this)) {
|
||||
arguments.prepend(program);
|
||||
arguments.prepend(QApplication::applicationDirPath() + "/linux_pkexec.sh");
|
||||
program = "bash";
|
||||
arguments.prepend("--keep-cwd");
|
||||
program = "pkexec";
|
||||
}
|
||||
|
||||
QProcess::setEnvironment(env);
|
||||
QProcess::start(program, arguments);
|
||||
|
||||
// waitForStarted();
|
||||
// pid = processId();
|
||||
}
|
||||
|
||||
void ExternalProcess::Kill() {
|
||||
|
||||
@ -9,7 +9,6 @@ namespace NekoRay::sys {
|
||||
QString program;
|
||||
QStringList arguments;
|
||||
QStringList env;
|
||||
qint64 pid = 0;
|
||||
|
||||
bool managed = true; // MW_dialog_message
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user