config->setGroup( "Global" );
config->writeEntry( "Font", KitaConfig::listFont() );
config->writeEntry( "ThreadFont", KitaConfig::threadFont() );
+ config->writeEntry( "PopupFont", KitaConfig::popupFont() );
config->writeEntry( "ShowMailAddress", KitaConfig::showMailAddress() );
config->writeEntry( "MarkTime", KitaConfig::MarkTime() );
config->writeEntry( "SortOrder", KitaConfig::sortOrder() );
KitaConfig::setThreadFont( KitaConfig::defaultThreadFont() );
}
+ if ( config->hasKey( "PopupFont" ) ) {
+ KitaConfig::setPopupFont( config->readFontEntry( "PopupFont" ) );
+ } else {
+ KitaConfig::setPopupFont( KitaConfig::defaultPopupFont() );
+ }
+
KitaConfig::setShowMailAddress( config->readBoolEntry( "ShowMailAddress", KitaConfig::defaultShowMailAddress() ) );
KitaConfig::setMarkTime( config->readUnsignedNumEntry( "MarkTime", KitaConfig::defaultMarkTime() ) );
KitaConfig::setSortOrder( config->readNumEntry( "SortOrder", KitaConfig::defaultSortOrder() ) );
" background-color: %4; "
" border-width: 0;"
"}" )
- .arg( KitaConfig::threadFont().pointSize() )
- .arg( KitaConfig::threadFont().family() )
+ .arg( KitaConfig::popupFont().pointSize() )
+ .arg( KitaConfig::popupFont().family() )
.arg( KitaConfig::popupColor().name() )
.arg( KitaConfig::popupBackgroundColor().name() );