summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_part.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 23:16:16 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 23:16:16 -0600
commita69ed77a67f853e33f87d9701029dd0a1f79ae2b (patch)
tree797d53e41945e22e548b8129eafcf2f4c40754c4 /akregator/src/akregator_part.cpp
parent8d3c935861c114c05447fd82a9762fd227c1727f (diff)
downloadtdepim-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.cpp20
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)