From 434af181a1016e6bea2e1d6fc9dfcdd08f72da0d Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 8 Aug 2011 07:55:25 +0000 Subject: Fix kdelibs startup failure git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1245665 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/kio/kservice.cpp | 2 +- kio/kio/kservicegroup.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kio') diff --git a/kio/kio/kservice.cpp b/kio/kio/kservice.cpp index 471301d79..8581c362c 100644 --- a/kio/kio/kservice.cpp +++ b/kio/kio/kservice.cpp @@ -742,7 +742,7 @@ bool KService::noDisplay() const { { TQString aValue = it.data().toString(); TQStringList aList = TQStringList::split(';', aValue); - if ((aList.tqcontains("TDE")) && (aList.tqcontains("KDE"))) + if ((aList.tqcontains("TDE")) || (aList.tqcontains("KDE"))) return true; } diff --git a/kio/kio/kservicegroup.cpp b/kio/kio/kservicegroup.cpp index 8333e4f1e..5efb23937 100644 --- a/kio/kio/kservicegroup.cpp +++ b/kio/kio/kservicegroup.cpp @@ -89,7 +89,7 @@ KServiceGroup::KServiceGroup( const TQString &configFile, const TQString & _relp } if (config.hasKey("NotShowIn")) { - if ((config.readListEntry("NotShowIn", ';').tqcontains("TDE")) && (config.readListEntry("NotShowIn", ';').tqcontains("KDE"))) + if ((config.readListEntry("NotShowIn", ';').tqcontains("TDE")) || (config.readListEntry("NotShowIn", ';').tqcontains("KDE"))) d->m_bNoDisplay = true; } -- cgit v1.2.1