Edwin Leuven wrote:
Abdelrazak Younes wrote:
I've tested it and it works fine so I've committed it.

i need to reset the cached color/ls/lw in start() when a new QPainter is created

Hum maybe instead of doing that we could as well reuse the same QPainter and call QPainter::begin() instead:

- qp_.reset(new QPainter(qwa_->paintDevice()));
+ qp_->begin(qwa_->paintDevice());

Actually, I think this is what the qt3 frontend does.

Abdel.

Reply via email to