Bug with interface font in info block is fixed

This commit is contained in:
2008-02-13 05:37:01 +00:00
parent 4326ee4273
commit 5db740f948
+2 -5
View File
@@ -376,11 +376,8 @@ void FWWindow::info(FWObject *obj, bool forced)
+ QString("<hr height=\"0\">"); + QString("<hr height=\"0\">");
oi->setText(s); oi->setText(s);
} }
oi->setFontWeight(QFont::Normal); oi->setFont(st->getUiFont());
oi->setFontItalic(false);
oi->setFontUnderline(false);
oi->setTextColor(Qt::black);
s=QString::fromUtf8(obj->getComment().c_str()); s=QString::fromUtf8(obj->getComment().c_str());
oi->append(s); oi->append(s);
oi->moveCursor(QTextCursor::Start); oi->moveCursor(QTextCursor::Start);