--- a/cellular/psuinotes/src/psuinotes.cpp Fri Sep 17 08:33:29 2010 +0300
+++ b/cellular/psuinotes/src/psuinotes.cpp Mon Oct 04 00:54:29 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;