diff options
Diffstat (limited to 'akregator/src/akregator_part.cpp')
-rw-r--r-- | akregator/src/akregator_part.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/akregator/src/akregator_part.cpp b/akregator/src/akregator_part.cpp index 48311dcce..355b66886 100644 --- a/akregator/src/akregator_part.cpp +++ b/akregator/src/akregator_part.cpp @@ -886,6 +886,26 @@ void Part::initFonts() Settings::setUnderlineLinks(underline); } + if (!conf->hasKey("EnableFavicon")) + { + bool enableFavicon = true; + if (konq.hasKey("EnableFavicon")) + enableFavicon = konq.readBoolEntry("EnableFavicon"); + + kdDebug() << "Part::initFonts(): set EnableFavicon to " << enableFavicon << endl; + Settings::setEnableFavIcon(enableFavicon); + } + + if (!conf->hasKey("AutoLoadImages")) + { + bool autoLoadImages = true; + if (konq.hasKey("AutoLoadImages")) + autoLoadImages = konq.readBoolEntry("AutoLoadImages"); + + kdDebug() << "Part::initFonts(): set AutoLoadImages to " << autoLoadImages << endl; + Settings::setAutoLoadImages(autoLoadImages); + } + } bool Part::copyFile(const TQString& backup) |