Permalink
Browse files

Fix non-responsive keyboard on mac

QWidget::winId() forces a widget to be native. Why it causes some keyboard issues on mac I'm not sure. It's likely we don't need this call at all, including non-mac. Take the safe approach and only disable the call on mac

Fixes #10587
  • Loading branch information...
1 parent 5aaca58 commit b2dcd7ba68ae0b3e5b59d8c55cf49603ca1aa7fd @jyavenard jyavenard committed Apr 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythui/mythmainwindow.cpp
@@ -1290,7 +1290,9 @@ void MythMainWindow::attach(QWidget *child)
currentWidget()->setEnabled(false);
d->widgetList.push_back(child);
+#ifndef Q_WS_MACX
child->winId();
+#endif
child->raise();
child->setFocus();
child->setMouseTracking(true);

0 comments on commit b2dcd7b

Please sign in to comment.