diff options
author | Felix Geyer <debfx@fobos.de> | 2011-11-09 09:39:58 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-09 10:05:44 +0100 |
commit | 3b0f26e23136e60b61203c26075349f1e541f654 (patch) | |
tree | b4831620cc32692668966df295ffd2832d5acaa9 /src/plugins/qmldesigner | |
parent | 243a677110a5f813e5d25dd9df8eb101729fc570 (diff) | |
download | qt-creator-3b0f26e23136e60b61203c26075349f1e541f654.tar.gz |
Fix qreal is not double.
Change-Id: Ife56e908a67da70ebe5af223b19fc8b99fc3a1d2
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/qmldesigner')
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/anchorlinecontroller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/anchorlinecontroller.cpp b/src/plugins/qmldesigner/components/formeditor/anchorlinecontroller.cpp index d4386ec6fa..8acf7daf40 100644 --- a/src/plugins/qmldesigner/components/formeditor/anchorlinecontroller.cpp +++ b/src/plugins/qmldesigner/components/formeditor/anchorlinecontroller.cpp @@ -170,8 +170,8 @@ void AnchorLineController::updatePosition() rightBoundingRect.adjust(0, 7, 5, -7); } else { - double height = qMin(boundingRect.height() / 4., qreal(10.0)); - double width = qMin(boundingRect.width() / 4., qreal(10.0)); + double height = qMin(boundingRect.height() / 4., 10.0); + double width = qMin(boundingRect.width() / 4., 10.0); topBoundingRect.setHeight(height); topBoundingRect.adjust(width, -4, -width, -1); |