[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Rekonq] 613d007: the "real" fix for 234579
From: Andrea Diamantini <adjam7 () gmail ! com>
Date: 2010-04-19 7:33:05
Message-ID: 201004190733.o3J7X5H0015851 () kore ! kollide ! net
[Download RAW message or body]
commit 613d007b66f74683cc86e3ce8bda42992ae840f1
Author: Andrea Diamantini <adjam7@gmail.com>
Date: Mon Apr 19 09:51:04 2010 +0200
the "real" fix for 234579
CCBUG:234579
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 8af1055..6bafd04 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -185,18 +185,19 @@ bool WebTab::hasRSSInfo()
{
if( el.attribute("type") == QL1S("application/rss+xml") || \
el.attribute("type") == QL1S("application/rss+xml") ) {
- KUrl u = KUrl( el.attribute("href") );
- if(u.isRelative())
+ if( el.attribute("href").startsWith( QL1S("http") ) )
{
- u = url();
+ _rssList << KUrl( el.attribute("href") );
+ }
+ else
+ {
+ KUrl u = url();
// NOTE
// cd() is probably better than setPath() here,
// for all those url sites just having a path
if(u.cd( el.attribute("href") ))
_rssList << u;
}
- else
- _rssList << u;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic