Changed file name to check for cc-terminal rebbot to /run/powerctrl_cc.

This commit is contained in:
Gerhard Hoffmann 2024-11-13 13:27:13 +01:00
parent 91a0f88cd9
commit a98ddbdb85

View File

@ -61,7 +61,7 @@ hwapi::hwapi(QObject *parent) : QObject(parent)
QSettings settings("/opt/app/ATBAPP/ATBQT.ini", QSettings::IniFormat);
m_watchedFile = settings.value("AsyncPOS_CCPlugin/terminal_watch_file",
"/opt/app/ATBAPP/watch.txt").toString();
"/run/powerctrl_cc").toString();
m_fileSystemWatcher.reset(new QFileSystemWatcher());
if (!m_fileSystemWatcher->addPath(m_watchedFile)) {