From 52973e7e301a18534acb134bdb593435be82ccfd Mon Sep 17 00:00:00 2001 From: bhughes Date: Fri, 8 Dec 2000 00:54:19 +0000 Subject: [PATCH] by default, use the *real* active title font for the inactive font, not the guess svn path=/trunk/kdebase/kwin/; revision=73865 --- options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/options.cpp b/options.cpp index 8ed535fce0..797d7bb049 100644 --- a/options.cpp +++ b/options.cpp @@ -1,6 +1,6 @@ /***************************************************************** kwin - the KDE window manager - + Copyright (C) 1999, 2000 Matthias Ettrich ******************************************************************/ #include "options.h" @@ -41,7 +41,7 @@ const QFont& Options::font(bool active, bool small) { if ( small ) return(active ? activeFontSmall : inactiveFontSmall); - else + else return(active ? activeFont : inactiveFont); } @@ -125,7 +125,7 @@ void Options::reload() activeFontGuess.setPixelSize(12); activeFont = config->readFontEntry("activeFont", &activeFontGuess); - inactiveFont = config->readFontEntry("inactiveFont", &activeFontGuess); + inactiveFont = config->readFontEntry("inactiveFont", &activeFont); activeFontSmall = activeFont; activeFontSmall.setPointSize(activeFont.pointSize() - 2);