Ticket #12738: 12783.frontend.cpp.patch.2

File 12783.frontend.cpp.patch.2, 601 bytes (added by Bill Meek, 3 years ago)

New approach, working in my tests.

Line 
1diff --git a/mythtv/libs/libmythui/mythmainwindow.cpp b/mythtv/libs/libmythui/mythmainwindow.cpp
2index 8a903c6..877271d 100644
3--- a/mythtv/libs/libmythui/mythmainwindow.cpp
4+++ b/mythtv/libs/libmythui/mythmainwindow.cpp
5@@ -2174,7 +2174,8 @@ bool MythMainWindow::eventFilter(QObject *, QEvent *e)
6 
7 #ifdef Q_OS_LINUX
8             // Fixups for _some_ linux native codes that QT doesn't know
9-            if (ke->key() <= 0)
10+            // #12783
11+            if (ke->key() <= 0 && ke->text().isEmpty())
12             {
13                 int keycode = 0;
14                 switch(ke->nativeScanCode())