List Info

Thread: qt-copy/patches




qt-copy/patches
user name
2007-07-04 04:49:12
SVN commit 683155 by djarvie:

Fix another crash when 'w' is null

CCMAIL: kwinkde.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
Kwinkde.org
https://ma
il.kde.org/mailman/listinfo/kwin

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )