summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs3/files')
-rw-r--r--x11/kdelibs3/files/patch-kdecore-kcharsets.cpp36
-rw-r--r--x11/kdelibs3/files/patch-khtml-khtml_part.cpp11
2 files changed, 0 insertions, 47 deletions
diff --git a/x11/kdelibs3/files/patch-kdecore-kcharsets.cpp b/x11/kdelibs3/files/patch-kdecore-kcharsets.cpp
deleted file mode 100644
index 231f234b211f..000000000000
--- a/x11/kdelibs3/files/patch-kdecore-kcharsets.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
---- kdecore/kcharsets.cpp 2003/09/06 19:06:29 1.144
-+++ kdecore/kcharsets.cpp 2004/03/12 09:18:03 1.144.2.1
-@@ -1,6 +1,6 @@
- /* This file is part of the KDE libraries
- Copyright (C) 1999 Lars Knoll (knoll@kde.org)
-- $Id: kcharsets.cpp,v 1.144 2003/09/06 19:06:29 binner Exp $
-+ $Id: kcharsets.cpp,v 1.144.2.1 2004/03/12 09:18:03 kalass Exp $
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
-@@ -497,19 +497,19 @@ QString KCharsets::languageForEncoding(
-
- QString KCharsets::encodingForName( const QString &descriptiveName )
- {
-- const int left = descriptiveName.find( '(' );
-+ const int left = descriptiveName.findRev( '(' );
-
- if (left<0) // No parenthesis, so assume it is a normal encoding name
-- return descriptiveName;
-+ return descriptiveName.stripWhiteSpace();
-
-- QString name(descriptiveName.mid(left+2));
-+ QString name(descriptiveName.mid(left+1));
-
-- const int right = name.find( ')' );
-+ const int right = name.findRev( ')' );
-
- if (right<0)
- return name;
--
-- return name.left(right-1);
-+
-+ return name.left(right).stripWhiteSpace();
- }
-
- QStringList KCharsets::descriptiveEncodingNames() \ No newline at end of file
diff --git a/x11/kdelibs3/files/patch-khtml-khtml_part.cpp b/x11/kdelibs3/files/patch-khtml-khtml_part.cpp
deleted file mode 100644
index be59d645ab9a..000000000000
--- a/x11/kdelibs3/files/patch-khtml-khtml_part.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- khtml/khtml_part.cpp.orig Mon Mar 1 09:25:09 2004
-+++ khtml/khtml_part.cpp Sat Mar 13 20:48:58 2004
-@@ -5395,7 +5395,7 @@
- pix = KMimeType::pixmapForURL(u, 0, KIcon::Desktop, KIcon::SizeMedium);
- }
-
-- KURLDrag* urlDrag = new KURLDrag( u, 0 );
-+ KURLDrag* urlDrag = new KURLDrag( u, img ? 0 : d->m_view->viewport() );
- if ( !d->m_referrer.isEmpty() )
- urlDrag->metaData()["referrer"] = d->m_referrer;
-