diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/konqueror/konqueror-embedded-20030705/useragent.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/konqueror/konqueror-embedded-20030705/useragent.patch')
-rw-r--r-- | packages/konqueror/konqueror-embedded-20030705/useragent.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/konqueror/konqueror-embedded-20030705/useragent.patch b/packages/konqueror/konqueror-embedded-20030705/useragent.patch index e69de29bb2..c2d9a10c44 100644 --- a/packages/konqueror/konqueror-embedded-20030705/useragent.patch +++ b/packages/konqueror/konqueror-embedded-20030705/useragent.patch @@ -0,0 +1,27 @@ +--- konqueror-embedded-snapshot-20030705/konq-embed/dropin/kio/slavebase.cpp.old 2002-11-17 15:55:22.000000000 +0100 ++++ konqueror-embedded-snapshot-20030705/konq-embed/dropin/kio/slavebase.cpp 2004-08-23 20:47:06.000000000 +0200 +@@ -398,8 +398,8 @@ + + if ( m_config.find( key ) != m_config.end() ) + return true; +- +- return false; ++ ++ return key == QString::fromLatin1("UserAgent"); + } + + QString SlaveBase::metaData( const QString &key ) const +@@ -410,7 +410,12 @@ + { + it = m_config.find( key ); + +- if ( it == m_config.end() ) ++ /* ++ * special case in hasMetaData and metaData ++ */ ++ if ( it == m_config.end() && key == QString::fromLatin1("UserAgent") ) ++ return KProtocolManager::defaultUserAgent("me"); ++ else + return QString::null; + } + |