From: asl Date: Thu, 21 Jul 2005 09:28:33 +0000 (+0000) Subject: debug X-Git-Tag: V3_0_1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7fc6424c7baf8da7210f7ed46be79a5c0b2eed83;p=modules%2Fgui.git debug --- diff --git a/src/Qtx/QtxResourceMgr.cxx b/src/Qtx/QtxResourceMgr.cxx index e23905a24..c53e97c42 100644 --- a/src/Qtx/QtxResourceMgr.cxx +++ b/src/Qtx/QtxResourceMgr.cxx @@ -760,11 +760,11 @@ bool QtxResourceMgr::value( const QString& sect, const QString& name, QFont& fVa { QString val = stringValue( sect, name, "" ); QStringList font_values = QStringList::split( ",", val ); - if( font_values.count()<2 || font_values.count()>4 ) + if( font_values.count()<2 || font_values.count()>5 ) return false; QString family = font_values[0]; - bool isBold = false, isItalic = false, isOk = false; + bool isBold = false, isItalic = false, isUnderline = false, isOk = false; int pSize = -1; for( int i=1, n=font_values.count(); i