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>
(cherry picked from commit f5c38bbee3)
pull/312/head
Michele Calgaro 3 months ago
parent 3ccc8ad970
commit cc8ddafac3
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