Improve Register page (#346)
* add username error label, add word wrapping for error labels * make lint * last commits * remove font, and remove some lambdas * add QRegularExpression for regex * improve review things * add isModified() for checkFields() * add check isModified() for all fields in checkFields * Update src/RegisterPage.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * remove emit call for showError Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
This commit is contained in:
parent
95667edb14
commit
68b2f6cb4f
25 changed files with 648 additions and 523 deletions
|
|
@ -108,7 +108,7 @@ MainWindow::MainWindow(const QString profile, QWidget *parent)
|
|||
connect(chat_page_, &ChatPage::unreadMessages, this, &MainWindow::setWindowTitle);
|
||||
connect(chat_page_, SIGNAL(unreadMessages(int)), trayIcon_, SLOT(setUnreadCount(int)));
|
||||
connect(chat_page_, &ChatPage::showLoginPage, this, [this](const QString &msg) {
|
||||
login_page_->loginError(msg);
|
||||
login_page_->showError(msg);
|
||||
showLoginPage();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue