aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-24 17:57:24 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-30 02:35:12 +0100
commite9b45ff67d32fdc27950a51135b6dabada8334e7 (patch)
treede99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch
downloadmeta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision 45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged the directory structure to match the new oe-core style and added COPYING.MIT and README. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch')
-rw-r--r--recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch b/recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch
new file mode 100644
index 0000000..542d207
--- /dev/null
+++ b/recipes-qtopia/konqueror/konqueror-embedded-20030705/malformed.patch
@@ -0,0 +1,19 @@
+diff -uNr konq.orig/konq-embed/src/mainwindowbase.cc konqueror-embedded-snapshot-20030705/konq-embed/src/mainwindowbase.cc
+--- konq.orig/konq-embed/src/mainwindowbase.cc 2005-01-26 14:34:06.335579881 +0100
++++ konqueror-embedded-snapshot-20030705/konq-embed/src/mainwindowbase.cc 2005-01-26 14:35:55.839632151 +0100
+@@ -357,12 +357,12 @@
+
+ if ( u.isMalformed() )
+ {
+- if ( QRegExp( "^www" ).match( text ) == 0 )
+- u = KURL( text.prepend( "http://" ) );
+ #if defined(ENABLE_FTP)
+- else if ( QRegExp( "^ftp" ).match( text ) == 0 )
++ if ( QRegExp( "^ftp" ).match( text ) == 0 )
+ u = KURL( text.prepend( "ftp://" ) );
++ else
+ #endif
++ u = KURL( text.prepend( "http://" ) );
+ }
+
+ if ( !u.isMalformed() )