Check KDE start condition if TDE start condition was not found. This refers to issue #283

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/296/head
Michele Calgaro 3 months ago
parent 7740e825a6
commit f5c38bbee3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -130,8 +130,8 @@ AutoStart::loadAutoStartList()
if (!startCondition(config.readEntry("X-TDE-autostart-condition"))) if (!startCondition(config.readEntry("X-TDE-autostart-condition")))
continue; continue;
} }
else { else if (config.hasKey("X-KDE-autostart-condition")) {
if (!startCondition(config.readEntry("X-TDE-autostart-condition"))) if (!startCondition(config.readEntry("X-KDE-autostart-condition")))
continue; continue;
} }
if (!config.tryExec()) if (!config.tryExec())

Loading…
Cancel
Save