Include external shutdown trigger
This commit is contained in:
parent
8fbdd32abb
commit
84f7fafe3a
@ -565,6 +565,10 @@ void f1x::openauto::autoapp::ui::MainWindow::showTime()
|
||||
}
|
||||
}
|
||||
}
|
||||
QFileInfo externalExitFile("/tmp/external_exit");
|
||||
if (externalExitFile.exists()) {
|
||||
f1x::openauto::autoapp::ui::MainWindow::MainWindow::exit();
|
||||
}
|
||||
}
|
||||
|
||||
ui_->Digital_clock->setText(time_text);
|
||||
@ -580,5 +584,3 @@ void f1x::openauto::autoapp::ui::MainWindow::showTime()
|
||||
}
|
||||
}**/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user