summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveshareexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-16 16:01:54 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-17 08:03:18 +1300
commitdeafa40d34f2a4c86a51aed6eb57c542356387db (patch)
treeac44d9d674b6c3c9fe758002b2a0102755ea13d4 /qt-ui/diveshareexportdialog.cpp
parentd8830ad31c9e84b215df15f30e79dc13ee59c39c (diff)
downloadsubsurface-deafa40d34f2a4c86a51aed6eb57c542356387db.tar.gz
Inherit from QGraphicsRectItem instead of QGraphicsShapeItem
a rectangle is *much* faster to paint than a simple ShapeItem, so this is a safer choice. We still need to create the paint method so we can use the correct roundness for the rectangle. Currently it's white with a 1px solid line - terrible. :) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveshareexportdialog.cpp')
0 files changed, 0 insertions, 0 deletions