From f96441b9faf769c9ecdd4d338b605ea3d0cc4010 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 9 Nov 2004 00:36:47 +0000 Subject: Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches. BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA --- .../konqueror-embedded-20030705/useragent.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'konqueror/konqueror-embedded-20030705/useragent.patch') diff --git a/konqueror/konqueror-embedded-20030705/useragent.patch b/konqueror/konqueror-embedded-20030705/useragent.patch index e69de29bb2..c2d9a10c44 100644 --- a/konqueror/konqueror-embedded-20030705/useragent.patch +++ b/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; + } + -- cgit v1.2.3