[Libufo-commits] ufo-0.5/src/ui ustylemanager.cpp,1.3,1.4
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-09-15 10:27:24
|
Update of /cvsroot/libufo/ufo-0.5/src/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24840/src/ui Modified Files: ustylemanager.cpp Log Message: Index: ustylemanager.cpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/src/ui/ustylemanager.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ustylemanager.cpp 2 Sep 2005 14:34:05 -0000 1.3 --- ustylemanager.cpp 15 Sep 2005 10:27:14 -0000 1.4 *************** *** 242,248 **** // FIXME: we get only UStyleHints * hints = NULL; ! if (m_hints[concat(type, classId, "")]) { ! m_hints[concat(type, classId, "")]->update(m_hints["default"]); ! return m_hints[concat(type, classId, "")]; } else if (m_hints[type]) { hints = m_hints[type]; --- 242,249 ---- // FIXME: we get only UStyleHints * hints = NULL; ! std::string type_class(concat(type, classId, "")); ! if (m_hints[type_class]) { ! m_hints[type_class]->update(m_hints["default"]); ! return m_hints[type_class]; } else if (m_hints[type]) { hints = m_hints[type]; |