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

(-)old/ImageLounge/src/DkGui/DkWidgets.cpp (-3 / +3 lines)
Lines 1864-1870 Link Here
1864
		setAngle(angle, false);
1864
		setAngle(angle, false);
1865
	}
1865
	}
1866
1866
1867
	if (event->buttons() == Qt::LeftButton && mState != moving) {
1867
	if (event->buttons() == Qt::LeftButton) {
1868
1868
1869
		QPolygonF p = mRect.getPoly();
1869
		QPolygonF p = mRect.getPoly();
1870
1870
Lines 1877-1887 Link Here
1877
		QPoint tl;
1877
		QPoint tl;
1878
1878
1879
		if (sAngle == 0.0f || fabs(sAngle) == 90.0f) {
1879
		if (sAngle == 0.0f || fabs(sAngle) == 90.0f) {
1880
			tl = mRect.getTopLeft().toPoint();
1880
			tl = mRtform.map(mRect.getTopLeft()).toPoint();
1881
			info += "x: ";
1881
			info += "x: ";
1882
		}
1882
		}
1883
		else {
1883
		else {
1884
			tl = mRect.getCenter().toPoint();
1884
			tl = mRtform.map(mRect.getCenter()).toPoint();
1885
			info += "center x: ";
1885
			info += "center x: ";
1886
		}
1886
		}
1887
		info += QString::number(tl.x()) + ", y: ";
1887
		info += QString::number(tl.x()) + ", y: ";

Return to bug 664962