Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 664962 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/DkGui/DkWidgets.cpp (-4 / +3 lines)
Lines 1820-1826 void DkEditableRect::mouseMoveEvent(QMouseEvent *event) { Link Here
1820
		setAngle(angle, false);
1820
		setAngle(angle, false);
1821
	}
1821
	}
1822
1822
1823
	if (event->buttons() == Qt::LeftButton && mState != moving) {
1823
	if (event->buttons() == Qt::LeftButton) {
1824
1824
1825
		QPolygonF p = mRect.getPoly();
1825
		QPolygonF p = mRect.getPoly();
1826
1826
Lines 1833-1843 void DkEditableRect::mouseMoveEvent(QMouseEvent *event) { Link Here
1833
		QPoint tl;
1833
		QPoint tl;
1834
1834
1835
		if (sAngle == 0.0f || fabs(sAngle) == 90.0f) {
1835
		if (sAngle == 0.0f || fabs(sAngle) == 90.0f) {
1836
			tl = mRect.getTopLeft().toPoint();
1836
			tl = mRtform.map(mRect.getTopLeft()).toPoint();
1837
			info += "x: ";
1837
			info += "x: ";
1838
		}
1838
		}
1839
		else {
1839
		else {
1840
			tl = mRect.getCenter().toPoint();
1840
			tl = mRtform.map(mRect.getCenter()).toPoint();
1841
			info += "center x: ";
1841
			info += "center x: ";
1842
		}
1842
		}
1843
		info += QString::number(tl.x()) + ", y: ";
1843
		info += QString::number(tl.x()) + ", y: ";
1844
- 

Return to bug 664962