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:
Mike Kristoffersen 2010-08-03 11:01:39 -07:00
Родитель cc33d5b473
Коммит dffd8b369f
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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);
}