SVN commit 683155 by djarvie:
Fix another crash when 'w' is null
CCMAIL: kwin kde.org
M +3 -2 0178-transparency-window-types.diff
---
trunk/qt-copy/patches/0178-transparency-window-types.diff
#683154:683155
 -92,12
+92,13 
QTipLabel::instance->setTipRect(w,
rect);
QTipLabel::instance->placeTip(pos, w);
}
- -360,6 +367,9  void QToolTip::showText(const QPoint
&po
+ -360,6 +367,10  void QToolTip::showText(const QPoint
&po
if (!text.isEmpty()){ // no tip can be reused, create
new tip:
new QTipLabel(pos, text, w); // sets
QTipLabel::instance to itself
+#ifdef Q_WS_X11
-+ QTipLabel::instance->x11SetWindowTransient(
w->topLevelWidget());
++ if (w)
++ QTipLabel::instance->x11SetWindowTransient(
w->topLevelWidget());
+#endif
QTipLabel::instance->setTipRect(w, rect);
QTipLabel::instance->placeTip(pos, w);
_______________________________________________
Kwin mailing list
Kwin kde.org
https://ma
il.kde.org/mailman/listinfo/kwin
|