cellular/psuinotes/src/psuinotes.cpp
changeset 48 78df25012fda
parent 46 2fa1fa551b0b
child 53 25b8d29b7c59
--- a/cellular/psuinotes/src/psuinotes.cpp	Fri Sep 03 13:59:20 2010 +0300
+++ b/cellular/psuinotes/src/psuinotes.cpp	Fri Sep 17 17:09:13 2010 +0300
@@ -297,16 +297,10 @@
     // configure editor so that only digits can be inputted
     passwordDialog->setPromptText(title);
     passwordDialog->setEchoMode(HbLineEdit::Password);
-    passwordDialog->setInputMethodHints(Qt::ImhDigitsOnly);
     passwordDialog->actions().at(0)->setEnabled(false);
-    
     HbLineEdit *hbLineEdit = passwordDialog->lineEdit();
     hbLineEdit->setMaxLength(maxPasswordLength);
-    
-    HbEditorInterface editorInterface(hbLineEdit);
-    editorInterface.setMode(HbInputModeNumeric);
-    editorInterface.setInputConstraints(HbEditorConstraintFixedInputMode);
-    editorInterface.setFilter(HbDigitsOnlyFilter::instance());
+    hbLineEdit->setInputMethodHints(Qt::ImhDigitsOnly);
     
     m_passwordValidator = &validator;