|
|
Scott Aron Bloom wrote:
Here is conclusion... Trolltech in the spirit of "Do more code less"
should put the check for css change into their code...
I agree, or Trolltech ought to at least document the behavior of
setStyleSheet() such that we know the side effects of calling
setStyleSheet() repeatedly.
I have implemented the behavior where I check for equality of the
existing stylesheet before assigning the new stylesheet and it works
fine, but I'll add setStyleSheet(QString()) in the case that a change is
needed to make sure I don't leak at all.
Thanks Scott. I'll submit the example program and this thread's URL to
the customer tracker.
--Dave
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|