summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-04-15 08:41:18 (GMT)
committerYoann Lopes <yoann.lopes@nokia.com>2010-04-15 10:29:27 (GMT)
commit9da13ea53aec6d841ba7f416531d6c52d4368df4 (patch)
tree1930b996312a87026046f8c8fa040b78bafb9912 /src/gui/kernel
parent9dcf1eabc373991340b0c0b697f5b0788fde4f4b (diff)
downloadQt-9da13ea53aec6d841ba7f416531d6c52d4368df4.zip
Qt-9da13ea53aec6d841ba7f416531d6c52d4368df4.tar.gz
Qt-9da13ea53aec6d841ba7f416531d6c52d4368df4.tar.bz2
Fixes tooltips for QGraphicsProxyWidget.
Help event was not propagated to the widget. Also fixes tooltip value propagation when setting it on the proxy or on the widget. Autotest included. Task-number: QTBUG-5349 Reviewed-by: bnilsen
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qtooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qtooltip.cpp b/src/gui/kernel/qtooltip.cpp
index 1343959..c8fcf45 100644
--- a/src/gui/kernel/qtooltip.cpp
+++ b/src/gui/kernel/qtooltip.cpp
@@ -168,9 +168,9 @@ QTipLabel *QTipLabel::instance = 0;
QTipLabel::QTipLabel(const QString &text, QWidget *w)
#ifndef QT_NO_STYLE_STYLESHEET
- : QLabel(w, Qt::ToolTip), styleSheetParent(0), widget(0)
+ : QLabel(w, Qt::ToolTip | Qt::BypassGraphicsProxyWidget), styleSheetParent(0), widget(0)
#else
- : QLabel(w, Qt::ToolTip), widget(0)
+ : QLabel(w, Qt::ToolTip | Qt::BypassGraphicsProxyWidget), widget(0)
#endif
{
delete instance;