From e4c6dc91e60c6e2d67bdc33fc5512711979b224f Mon Sep 17 00:00:00 2001 From: me_desk Date: Sat, 11 Aug 2012 03:53:01 +0000 Subject: filtering special characters in pica-client and pica-registrar git-svn-id: svn://localhost/project_picapica/trunk@160 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/dialogs/registeraccountdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pica-client/dialogs') diff --git a/pica-client/dialogs/registeraccountdialog.cpp b/pica-client/dialogs/registeraccountdialog.cpp index bc723f7..0608e91 100644 --- a/pica-client/dialogs/registeraccountdialog.cpp +++ b/pica-client/dialogs/registeraccountdialog.cpp @@ -31,7 +31,7 @@ RegisterAccountDialog::RegisterAccountDialog(QWidget *parent) : setLayout(layout); - vld = new QRegExpValidator(QRegExp("[^\\#/=\"\'\\$]+"), this); + vld = new QRegExpValidator(QRegExp("[^\\#\\$&\"\'=\\(\\)\\\\/\\|`!<>\\{\\}\\[\\]\\+]+"), this); nickname->setValidator(vld); connect(btOK, SIGNAL(clicked()), this, SLOT(OK())); -- cgit v1.2.1