[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio/bookmarks
From: David Faure <faure () kde ! org>
Date: 2005-02-10 14:24:17
Message-ID: 20050210142417.553711D19D () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
OK then we don't need to change the code, but add a comment in case we reuse the method
elsewhere later.
M +3 -0 kbookmark.cc 1.124
--- kdelibs/kio/bookmarks/kbookmark.cc #1.123:1.124
@@ -405,4 +405,7 @@ static QDomNode findOrCreateMetadata( QD
bool KBookmark::hasMetaData() const
{
+ // ### NOTE: this code creates <info> and <metadata>, despite its name and the const.
+ // It doesn't matter much in practice since it's only called for newly-created bookmarks,
+ // which will get metadata soon after anyway.
QDomNode n = cd_or_create( internalElement(), "info" );
return findOrCreateMetadata( n ).hasChildNodes();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic