[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/libkonq/favicons
From:       David Faure <faure () kde ! org>
Date:       2007-02-22 18:53:10
Message-ID: 1172170390.135425.30182.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 636292 by dfaure:

faviconsrc uses no groups.


 M  +2 -2      favicons.cpp  


--- trunk/KDE/kdebase/libkonq/favicons/favicons.cpp #636291:636292
@@ -102,7 +102,7 @@
     if (iconURL)
         icon = *iconURL;
     else
-        icon = d->config->readEntry( removeSlash(simplifiedURL), QString() );
+        icon = d->config->group(QString()).readEntry( removeSlash(simplifiedURL), \
QString() );  
     if (!icon.isEmpty())
         icon = iconNameFromURL(KUrl( icon ));
@@ -240,7 +240,7 @@
                 if( !img.save( d->faviconsDir + iconName + ".png", "PNG" ) )
                     iconName.clear();
                 else if (!download.isHost)
-                    d->config->writeEntry( removeSlash(download.hostOrURL), \
iconURL.url()); +                    d->config->group(QString()).writeEntry( \
removeSlash(download.hostOrURL), iconURL.url());  }
         }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic