Migrates residual Lts sources to generated rtiddsgen API
Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
1 parent
5485a90385
commit
881d44f4dd
512 files changed
+6887
-6426
No files matched your search
@@ -252,22 +252,22 @@ void LtsLogin::logoff()
|
||||
QString cmd;
|
||||
switch (m_shutdownAction.underlying())
|
||||
{
|
||||
case AssetManagement::ShutdownAction_def::Shutdown:
|
||||
case AssetManagement::ShutdownAction::Shutdown:
|
||||
#ifdef LTS_DEBUG
|
||||
cmd = QStringLiteral("xeyes");
|
||||
#else
|
||||
cmd = QStringLiteral("systemctl poweroff");
|
||||
#endif
|
||||
break;
|
||||
case AssetManagement::ShutdownAction_def::Reboot:
|
||||
case AssetManagement::ShutdownAction::Reboot:
|
||||
#ifdef LTS_DEBUG
|
||||
cmd = QStringLiteral("kcalc");
|
||||
#else
|
||||
cmd = QStringLiteral("systemctl reboot");
|
||||
#endif
|
||||
break;
|
||||
case AssetManagement::ShutdownAction_def::Logout:
|
||||
case AssetManagement::ShutdownAction_def::NoAction:
|
||||
case AssetManagement::ShutdownAction::Logout:
|
||||
case AssetManagement::ShutdownAction::NoAction:
|
||||
emit signalLogoffDone();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user