equal
deleted
inserted
replaced
166 |
166 |
167 QTipLabel *QTipLabel::instance = 0; |
167 QTipLabel *QTipLabel::instance = 0; |
168 |
168 |
169 QTipLabel::QTipLabel(const QString &text, QWidget *w) |
169 QTipLabel::QTipLabel(const QString &text, QWidget *w) |
170 #ifndef QT_NO_STYLE_STYLESHEET |
170 #ifndef QT_NO_STYLE_STYLESHEET |
171 : QLabel(w, Qt::ToolTip), styleSheetParent(0), widget(0) |
171 : QLabel(w, Qt::ToolTip | Qt::BypassGraphicsProxyWidget), styleSheetParent(0), widget(0) |
172 #else |
172 #else |
173 : QLabel(w, Qt::ToolTip), widget(0) |
173 : QLabel(w, Qt::ToolTip | Qt::BypassGraphicsProxyWidget), widget(0) |
174 #endif |
174 #endif |
175 { |
175 { |
176 delete instance; |
176 delete instance; |
177 instance = this; |
177 instance = this; |
178 setForegroundRole(QPalette::ToolTipText); |
178 setForegroundRole(QPalette::ToolTipText); |