diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 23:16:16 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 23:16:16 -0600 |
commit | a69ed77a67f853e33f87d9701029dd0a1f79ae2b (patch) | |
tree | 797d53e41945e22e548b8129eafcf2f4c40754c4 /akregator/src/akregator_part.cpp | |
parent | 8d3c935861c114c05447fd82a9762fd227c1727f (diff) | |
download | tdepim-a69ed77a67f853e33f87d9701029dd0a1f79ae2b.tar.gz tdepim-a69ed77a67f853e33f87d9701029dd0a1f79ae2b.zip |
Provide akregator check box controls for displaying favicons and loading images.
This partially resolves bug report 1360.
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) |