File fix-opensuseupdater-systemtray-transparency.diff of Package qtcurve-kde

--- style/qtcurve.cpp	2007/03/12 09:24:46	1.1
+++ style/qtcurve.cpp	2007/03/12 09:26:53
@@ -748,10 +748,7 @@
     }
     else if (Qt::X11ParentRelative!=widget->backgroundMode() &&
               (::qt_cast<QLabel *>(widget) || ::qt_cast<QHBox *>(widget) ||
-              ::qt_cast<QVBox *>(widget)) &&
-              widget->parent() &&
-              ( 0==qstrcmp(static_cast<QWidget *>(widget->parent())->className(),
-                           "MainWindow") || onToolBar(widget)))
+              ::qt_cast<QVBox *>(widget)) && onToolBar(widget))
     {
         widget->setName(kdeToolbarWidget);
         widget->installEventFilter(this);
openSUSE Build Service is sponsored by