зеркало из https://github.com/mozilla/gecko-dev.git
Bug 5612334 - QGraphicsWidget::keyPressEvent has an error that makes us invert case when typing. r=dougt
--HG-- extra : rebase_source : c835cfbbaedcdd8fdf72ebc0f32ded8ac354d549
This commit is contained in:
Родитель
cc33d5b473
Коммит
dffd8b369f
|
@ -114,16 +114,21 @@ void MozQWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* aEvent)
|
|||
|
||||
void MozQWidget::keyPressEvent(QKeyEvent* aEvent)
|
||||
{
|
||||
#if (MOZ_PLATFORM_MAEMO==5)
|
||||
// Below removed to prevent invertion of upper and lower case
|
||||
// See bug 561234
|
||||
// mReceiver->OnKeyPressEvent(aEvent);
|
||||
#else
|
||||
mReceiver->OnKeyPressEvent(aEvent);
|
||||
#endif
|
||||
}
|
||||
|
||||
void MozQWidget::keyReleaseEvent(QKeyEvent* aEvent)
|
||||
{
|
||||
#if (MOZ_PLATFORM_MAEMO==5)
|
||||
// Below line should be removed when bug 561234 is fixed
|
||||
mReceiver->OnKeyPressEvent(aEvent);
|
||||
|
||||
#endif
|
||||
mReceiver->OnKeyReleaseEvent(aEvent);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче