Ticket #21323: kkeyserver_mac64.patch
File kkeyserver_mac64.patch, 707 bytes (added by lfranchi@…, 15 years ago) |
---|
-
kdeui/util/kkeyserver_mac.cpp
68 68 static KeyboardLayoutRef lastLayout = NULL; 69 69 70 70 void updateScancodes() { 71 #ifdef Q_OS_MAC32 71 72 KeyboardLayoutRef layout; 72 73 if (KLGetCurrentKeyboardLayout(&layout) != noErr) { 73 74 kWarning() << "Error retrieving current layout"; … … 92 93 } 93 94 } 94 95 } 95 } 96 } 97 #else 98 #warning port me to Mac64 99 #endif 96 100 } 97 101 98 102 #define SCANCODE(name, value) { Qt::Key_ ## name, value }