From: <hep...@us...> - 2009-04-02 03:24:47
|
Revision: 693 http://qterm.svn.sourceforge.net/qterm/?rev=693&view=rev Author: hephooey Date: 2009-04-02 03:24:40 +0000 (Thu, 02 Apr 2009) Log Message: ----------- Update theme when it is changed Modified Paths: -------------- trunk/qterm-qt4/src/qtermframe.cpp Modified: trunk/qterm-qt4/src/qtermframe.cpp =================================================================== --- trunk/qterm-qt4/src/qtermframe.cpp 2009-03-30 14:51:46 UTC (rev 692) +++ trunk/qterm-qt4/src/qtermframe.cpp 2009-04-02 03:24:40 UTC (rev 693) @@ -618,8 +618,10 @@ { theme = action->text(); QStyle * style = QStyleFactory::create(theme); - if (style) + if (style) { qApp->setStyle(style); + Global::instance()->setStyle(theme); + } } void Frame::updateScroll(QAction * action) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |