Line tool preview at
Fri Jul 10 16:00:26 CEST 2009

I noticed little stuff that can be done differently.

Take a look at the method KisToolLine::paintLine(QPainter& gc, const QRect&) 
for painting line-preview when you use line tool:

I think that instead of static_cast<int> we could use qRound as it is more 
precise. 0,7 is 0 with static_cast. With qRound 1.

I'm not sure, that's why I'm asking.

If you agree to use qRound, I can commit.

More information about the kimageshop mailing list