From 5db740f94840961f906e885f4637b47f8bc05452 Mon Sep 17 00:00:00 2001 From: Date: Wed, 13 Feb 2008 05:37:01 +0000 Subject: [PATCH] Bug with interface font in info block is fixed --- src/gui/FWWindow.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gui/FWWindow.cpp b/src/gui/FWWindow.cpp index 74007c493..b5f41ff8e 100644 --- a/src/gui/FWWindow.cpp +++ b/src/gui/FWWindow.cpp @@ -376,11 +376,8 @@ void FWWindow::info(FWObject *obj, bool forced) + QString("
"); oi->setText(s); } - - oi->setFontWeight(QFont::Normal); - oi->setFontItalic(false); - oi->setFontUnderline(false); - oi->setTextColor(Qt::black); + + oi->setFont(st->getUiFont()); s=QString::fromUtf8(obj->getComment().c_str()); oi->append(s); oi->moveCursor(QTextCursor::Start);