KDE
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists KDE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 23rd, 2008, 01:50 PM
Philip Rodrigues
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Konq bookmarks sidebar bug

Hi,
The attached patch, to be applied in
, seems to fix a
couple of bugs that affect the bookmarks in the sidebar. The problem is that
, which converts an address in the
bookmarks tree like "/5/6/7" into a pointer to the appropriate list item was
recursing one time too many and so returning the wrong thing.

Can anyone see any problems with the patch? If not, can I commit it?

Regards,
Philip

Reply With Quote
  #2  
Old June 26th, 2008, 06:31 AM
Philip Rodrigues
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Konq bookmarks sidebar bug

Hi,

Can anyone see any problems with the patch? If not, can I commit it?

Indeed, looks like a porting error.
QStringList::split should have been ported to
QString::split(, QString::SkipEmptyParts);
This might be safer than accessing [0], btw (e.g. if the
address is empty for some reason).

Ah yes, Pino mentioned to me that QString::skipEmptyParts might be a better
way to do it - I'll try that, and if it works, I'll commit unless someone
says otherwise.

Regards,
Philip

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists KDE > Konq bookmarks sidebar bug


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT