diff options
Diffstat (limited to 'kinit/autostart.cpp')
-rw-r--r-- | kinit/autostart.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp index d6a10e537..9383e4301 100644 --- a/kinit/autostart.cpp +++ b/kinit/autostart.cpp @@ -178,23 +178,12 @@ AutoStart::loadAutoStartList() if (config.hasKey("OnlyShowIn")) { - if (!config.readListEntry("OnlyShowIn", ';').tqcontains("TDE")) + if ((!config.readListEntry("OnlyShowIn", ';').tqcontains("TDE")) && (!config.readListEntry("OnlyShowIn", ';').tqcontains("KDE"))) continue; } if (config.hasKey("NotShowIn")) { - if (config.readListEntry("NotShowIn", ';').tqcontains("TDE")) - continue; - } - - if (config.hasKey("OnlyShowIn")) - { - if (!config.readListEntry("OnlyShowIn", ';').tqcontains("KDE")) - continue; - } - if (config.hasKey("NotShowIn")) - { - if (config.readListEntry("NotShowIn", ';').tqcontains("KDE")) + if ((config.readListEntry("NotShowIn", ';').tqcontains("TDE")) || (config.readListEntry("NotShowIn", ';').tqcontains("KDE"))) continue; } |