summaryrefslogtreecommitdiffstats
path: root/trinity-base/kdelibs/files/kdelibs-3.5.13.1-OnlyShowIn-TDE.patch
blob: 9d9187f8e397a6a42a9a48cfcf4b047cee2c40d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp
index 48325f2..d4bdb7b 100644
--- a/kinit/autostart.cpp
+++ b/kinit/autostart.cpp
@@ -178,7 +178,7 @@ AutoStart::loadAutoStartList()
 
        if (config.hasKey("OnlyShowIn"))
        {
-          if ((!config.readListEntry("OnlyShowIn", ';').contains("TDE")) && (!config.readListEntry("OnlyShowIn", ';').contains("KDE")))
+          if (!config.readListEntry("OnlyShowIn", ';').contains("TDE"))
               continue;
        }
        if (config.hasKey("NotShowIn"))
diff --git a/kio/kio/kservicegroup.cpp b/kio/kio/kservicegroup.cpp
index 6758ca1..18b402b 100644
--- a/kio/kio/kservicegroup.cpp
+++ b/kio/kio/kservicegroup.cpp
@@ -84,7 +84,7 @@ KServiceGroup::KServiceGroup( const TQString &configFile, const TQString & _relp
   TQStringList tmpList;
   if (config.hasKey("OnlyShowIn"))
   {
-     if ((!config.readListEntry("OnlyShowIn", ';').contains("TDE")) && (!config.readListEntry("OnlyShowIn", ';').contains("KDE")))
+     if (!config.readListEntry("OnlyShowIn", ';').contains("TDE"))
         d->m_bNoDisplay = true;
   }
   if (config.hasKey("NotShowIn"))