summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-28 09:28:25 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-28 15:29:01 -0800
commitf8c2efe1ce7b2a04d8d6970221915c060827125b (patch)
tree379024c72dd10530317702b342283d039c93fb94
parent3264255a7a2466f1a7d093cf3c26ae564e846472 (diff)
downloadsubsurface-f8c2efe1ce7b2a04d8d6970221915c060827125b.tar.gz
Fixes ToolTip Item showing out of boundaries tooltips
This patch fixes ToolTip Item showing out of boundaries Tooltips when in resizing animation. Fixes #294 Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/profilegraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index de3e9cd59..9192f4973 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -1527,7 +1527,7 @@ ToolTipItem::ToolTipItem(QGraphicsItem* parent): QGraphicsPathItem(parent), back
{
title = new QGraphicsSimpleTextItem(tr("Information"), this);
separator = new QGraphicsLineItem(this);
- setFlags(ItemIgnoresTransformations | ItemIsMovable);
+ setFlags(ItemIgnoresTransformations | ItemIsMovable | ItemClipsChildrenToShape);
status = COLLAPSED;
updateTitlePosition();
setZValue(99);