[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: PATCH: Bug# 98876
From: "Dawit A." <adawit () kde ! org>
Date: 2005-02-17 3:46:28
Message-ID: 200502162246.28981.adawit () kde ! org
[Download RAW message or body]
The following kprotocolmanager.cpp patch fixes BR # 98876...
--
Regards,
Dawit A.
"Preach what you practice, practice what you preach"
["kprotocolmanager-20050216.diff" (text/x-diff)]
Index: kprotocolmanager.cpp
===================================================================
RCS file: /home/kde/kdelibs/kio/kio/kprotocolmanager.cpp,v
retrieving revision 1.140
diff -u -p -b -B -r1.140 kprotocolmanager.cpp
--- kprotocolmanager.cpp 30 Nov 2004 08:02:00 -0000 1.140
+++ kprotocolmanager.cpp 17 Feb 2005 03:43:20 -0000
@@ -206,11 +206,16 @@ int KProtocolManager::maxCacheSize()
QString KProtocolManager::noProxyFor()
{
+ int type = proxyType();
+
+ if ( type != ManualProxy || type != EnvVarProxy )
+ return QString::null;
+
KConfig *cfg = config();
cfg->setGroup( "Proxy Settings" );
QString noProxy = cfg->readEntry( "NoProxyFor" );
- if (proxyType() == EnvVarProxy)
+ if (type == EnvVarProxy)
noProxy = QString::fromLocal8Bit(getenv(noProxy.local8Bit()));
return noProxy;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic