[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: qt-copy/patches
From: David Jarvie <software () astrojar ! org ! uk>
Date: 2007-07-04 9:49:12
Message-ID: 1183542552.900875.23628.nullmailer () svn ! kde ! org
[Download RAW message or body]
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://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic