explicit double to int conversion
svn path=/trunk/kdebase/kwin/; revision=77261
This commit is contained in:
parent
44b018128f
commit
2bfe4742b6
1 changed files with 5 additions and 5 deletions
|
@ -456,10 +456,10 @@ void Manager::animate(bool iconify, int style)
|
||||||
double dch = (ch / 2) * cos(angle);
|
double dch = (ch / 2) * cos(angle);
|
||||||
double midy = cy + (ch / 2);
|
double midy = cy + (ch / 2);
|
||||||
|
|
||||||
QPoint p1(cx + dx, midy - dch);
|
QPoint p1(int(cx + dx), int(midy - dch));
|
||||||
QPoint p2(cx + cw - dx, p1.y());
|
QPoint p2(int(cx + cw - dx), p1.y());
|
||||||
QPoint p3(cx + dw + dx, midy + dch);
|
QPoint p3(int(cx + dw + dx), int(midy + dch));
|
||||||
QPoint p4(cx - dx, p3.y());
|
QPoint p4(int(cx - dx), p3.y());
|
||||||
|
|
||||||
XGrabServer(qt_xdisplay());
|
XGrabServer(qt_xdisplay());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue