@ -464,6 +464,7 @@ KMReaderWin::KMReaderWin(TQWidget *aParent,
readConfig ( ) ;
readConfig ( ) ;
mHtmlOverride = false ;
mHtmlOverride = false ;
mHtmlLoadExtDefault = false ;
mHtmlLoadExtOverride = false ;
mHtmlLoadExtOverride = false ;
mLevelQuote = GlobalSettings : : self ( ) - > collapseQuoteLevelSpin ( ) - 1 ;
mLevelQuote = GlobalSettings : : self ( ) - > collapseQuoteLevelSpin ( ) - 1 ;
@ -902,7 +903,6 @@ void KMReaderWin::readConfig(void)
mToggleFixFontAction - > setChecked ( mUseFixedFont ) ;
mToggleFixFontAction - > setChecked ( mUseFixedFont ) ;
mHtmlMail = reader . readBoolEntry ( " htmlMail " , false ) ;
mHtmlMail = reader . readBoolEntry ( " htmlMail " , false ) ;
mHtmlLoadExternal = reader . readBoolEntry ( " htmlLoadExternal " , false ) ;
setHeaderStyleAndStrategy ( HeaderStyle : : create ( reader . readEntry ( " header-style " , " fancy " ) ) ,
setHeaderStyleAndStrategy ( HeaderStyle : : create ( reader . readEntry ( " header-style " , " fancy " ) ) ,
HeaderStrategy : : create ( reader . readEntry ( " header-set-displayed " , " rich " ) ) ) ;
HeaderStrategy : : create ( reader . readEntry ( " header-set-displayed " , " rich " ) ) ) ;
@ -2496,11 +2496,14 @@ void KMReaderWin::setHtmlOverride(bool override)
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
void KMReaderWin : : setHtmlLoadExt Override( bool override )
void KMReaderWin : : setHtmlLoadExt Default( bool loadExtDefault )
{
{
mHtmlLoadExtOverride = override ;
mHtmlLoadExtDefault = loadExtDefault ;
//if (message())
}
// message()->setDecodeHTML(htmlMail());
void KMReaderWin : : setHtmlLoadExtOverride ( bool loadExtOverride )
{
mHtmlLoadExtOverride = loadExtOverride ;
}
}
@ -2525,8 +2528,8 @@ bool KMReaderWin::htmlLoadExternal()
return mHtmlLoadExtOverride ;
return mHtmlLoadExtOverride ;
}
}
return ( ( mHtmlLoadExt ernal & & ! mHtmlLoadExtOverride ) | |
return ( ( mHtmlLoadExt Default & & ! mHtmlLoadExtOverride ) | |
( ! mHtmlLoadExt ernal & & mHtmlLoadExtOverride ) ) ;
( ! mHtmlLoadExt Default & & mHtmlLoadExtOverride ) ) ;
}
}