by default, use the *real* active title font for the inactive font, not the
guess svn path=/trunk/kdebase/kwin/; revision=73865
This commit is contained in:
parent
7be5b88851
commit
52973e7e30
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************
|
||||
kwin - the KDE window manager
|
||||
|
||||
|
||||
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
||||
******************************************************************/
|
||||
#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);
|
||||
|
|
Loading…
Reference in a new issue