mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
akregator: remove konqueror support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8b26aec7b5
commit
00cca100af
1 changed files with 3 additions and 17 deletions
|
@ -656,35 +656,21 @@ void Part::initFonts()
|
|||
|
||||
KConfigGroup conf( Settings::self()->config(), "HTML Settings");
|
||||
|
||||
KConfig _konq( "konquerorrc", KConfig::NoGlobals );
|
||||
KConfigGroup konq(&_konq, "HTML Settings");
|
||||
|
||||
if (!conf.hasKey("MinimumFontSize"))
|
||||
{
|
||||
int minfs;
|
||||
if (konq.hasKey("MinimumFontSize"))
|
||||
minfs = konq.readEntry("MinimumFontSize", 8);
|
||||
else
|
||||
minfs = std::max( KGlobalSettings::generalFont().pointSize() - 2, 4 );
|
||||
const int minfs = std::max( KGlobalSettings::generalFont().pointSize() - 2, 4 );
|
||||
Settings::setMinimumFontSize(minfs);
|
||||
}
|
||||
|
||||
if (!conf.hasKey("MediumFontSize"))
|
||||
{
|
||||
int medfs;
|
||||
if (konq.hasKey("MediumFontSize"))
|
||||
medfs = konq.readEntry("MediumFontSize", 12);
|
||||
else
|
||||
medfs = KGlobalSettings::generalFont().pointSize();
|
||||
const int medfs = KGlobalSettings::generalFont().pointSize();
|
||||
Settings::setMediumFontSize(medfs);
|
||||
}
|
||||
|
||||
if (!conf.hasKey("UnderlineLinks"))
|
||||
{
|
||||
bool underline = true;
|
||||
if (konq.hasKey("UnderlineLinks"))
|
||||
underline = konq.readEntry("UnderlineLinks", false);
|
||||
Settings::setUnderlineLinks(underline);
|
||||
Settings::setUnderlineLinks(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue