Use effectiveWinId() instead of winId() in widgetsToX11Windows().

winId() creates native handles as a side effect.
This sometimes triggers a bug that causes DatabaseTabWidget to
not be updated anymore.
This commit is contained in:
Felix Geyer 2012-11-20 23:44:15 +01:00
parent 8b0409b228
commit 23c787c4dd

View File

@ -268,7 +268,7 @@ QList<Window> AutoTypePlatformX11::widgetsToX11Windows(const QWidgetList& widget
QList<Window> windows;
Q_FOREACH (const QWidget* widget, widgetList) {
windows.append(widget->winId());
windows.append(widget->effectiveWinId());
}
return windows;