From ff6b3156c4b86e92b5d3dcda45698773d9c6d745 Mon Sep 17 00:00:00 2001 From: Wilco Greven Date: Sun, 29 Oct 2000 10:19:23 +0000 Subject: [PATCH] As long as the inactive window font can't be configured, use the active window font for inactive windows too. svn path=/trunk/kdebase/kwin/; revision=69261 --- default/kdedefault.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default/kdedefault.cpp b/default/kdedefault.cpp index 625004fc2d..873ec72eaa 100644 --- a/default/kdedefault.cpp +++ b/default/kdedefault.cpp @@ -737,8 +737,8 @@ void KDEClient::paintEvent( QPaintEvent* ) options->color(Options::TitleBar, false)); } r = titlebar->geometry(); - QFontMetrics fm(options->font(false)); - p.setFont(options->font(false)); + QFontMetrics fm(options->font(true)); // font(false) doesn't work yet. + p.setFont(options->font(true)); p.setPen(options->color(Options::Font, false)); p.drawText(r.x(), r.y(), r.width(), r.height()-1, AlignLeft, caption() );