src/hbplugins/inputmethods/touchinput/hbinputbasicqwertyhandler.cpp
changeset 5 627c4a0fd0e7
parent 2 06ff229162e9
child 21 4633027730f5
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
   208         // let's pass non deadkey event to the base class.
   208         // let's pass non deadkey event to the base class.
   209         if (!mKeymap->isDeadKey(firstChar.unicode()) && secondChar.isNull() && q->HbInputBasicHandler::filterEvent(event)) {
   209         if (!mKeymap->isDeadKey(firstChar.unicode()) && secondChar.isNull() && q->HbInputBasicHandler::filterEvent(event)) {
   210             return true;
   210             return true;
   211         }
   211         }
   212 
   212 
   213         if (event->key() == HbInputButton::ButtonKeyCodeDelete || event->key() == Qt::Key_Backspace) {
   213         if (event->key() == HbInputButton::ButtonKeyCodeDelete || event->key() == Qt::Key_Backspace ||
       
   214             event->key() == HbInputButton::ButtonKeyCodeCustom) {
   214             return false;
   215             return false;
   215         }
   216         }
   216 
   217 
   217         QList<QInputMethodEvent::Attribute> list;
   218         QList<QInputMethodEvent::Attribute> list;
   218         QString newText;
   219         QString newText;