I changed the call to c.frame.top.setStyleSheet to
g.app.gui.qtApp.setStyleSheet. This is needed to, say, provide proper
styling for detached frames. It also allows the user to customize
invidual frames without overriding the whole "default" stylesheet (ok,
this is an artificial benefit).

I also remove XXXQMenuBar stuff from the default stylesheet, since it
appears to be illegal (it showed Qt runtime warnings).

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to