aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-27 18:13:33 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-27 20:37:11 -0700
commitc84b40664de756b103e3304fb015edc05049ae39 (patch)
tree4f9bcacd8f379b8bf69f760bbffa974bc69d34bd /qt-ui/profile/profilewidget2.cpp
parente40367fc393a3b5e885a3816baa2ad0da4e30de7 (diff)
downloadsubsurface-c84b40664de756b103e3304fb015edc05049ae39.tar.gz
Fix dive picture position
I was messing with the origin point, making the dive picture be a tiny bit to the right. This removes the rotation, but that was also not very good. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index d8764c461..299cc2972 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -1337,7 +1337,6 @@ void ProfileWidget2::plotPictures()
lastX = x;
lastY = y;
item->setPos(x, y);
- item->setFlag(QGraphicsItem::ItemIgnoresTransformations);
scene()->addItem(item);
pictures.push_back(item);
}