summary refs log tree commit diff
path: root/src/RegisterPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 21:13:22 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 21:13:22 +0200
commitfc34f373df6b1671e8ea1f32e7c4fa423c76f1d9 (patch)
treee7b988af98bf1f5bcc834dd8862f326f268db91e /src/RegisterPage.cc
parentFix emoji picker's theme (diff)
downloadnheko-fc34f373df6b1671e8ea1f32e7c4fa423c76f1d9.tar.xz
Remove unnecessary comments
Diffstat (limited to 'src/RegisterPage.cc')
-rw-r--r--src/RegisterPage.cc19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/RegisterPage.cc b/src/RegisterPage.cc

index 52a0ac02..c03fae4c 100644 --- a/src/RegisterPage.cc +++ b/src/RegisterPage.cc
@@ -17,21 +17,19 @@ #include <QStyleOption> -#include "RegisterPage.h" #include "Avatar.h" #include "Config.h" #include "FlatButton.h" #include "InputValidator.h" #include "MatrixClient.h" #include "RaisedButton.h" +#include "RegisterPage.h" #include "TextField.h" RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent) : QWidget(parent) , client_(client) { - // setStyleSheet("background-color: #fff"); - top_layout_ = new QVBoxLayout(); back_layout_ = new QHBoxLayout(); @@ -75,30 +73,18 @@ RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent) form_wrapper_->addStretch(1); username_input_ = new TextField(); - // username_input_->setTextColor("#333333"); username_input_->setLabel(tr("Username")); - // username_input_->setInkColor("#555459"); - // username_input_->setBackgroundColor("#fff"); password_input_ = new TextField(); - // password_input_->setTextColor("#333333"); password_input_->setLabel(tr("Password")); - // password_input_->setInkColor("#555459"); - // password_input_->setBackgroundColor("#fff"); password_input_->setEchoMode(QLineEdit::Password); password_confirmation_ = new TextField(); - // password_confirmation_->setTextColor("#333333"); password_confirmation_->setLabel(tr("Password confirmation")); - // password_confirmation_->setInkColor("#555459"); - // password_confirmation_->setBackgroundColor("#fff"); password_confirmation_->setEchoMode(QLineEdit::Password); server_input_ = new TextField(); - // server_input_->setTextColor("#333333"); server_input_->setLabel(tr("Home Server")); - // server_input_->setInkColor("#555459"); - // server_input_->setBackgroundColor("#fff"); form_layout_->addWidget(username_input_, Qt::AlignHCenter, 0); form_layout_->addWidget(password_input_, Qt::AlignHCenter, 0); @@ -114,11 +100,8 @@ RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent) error_label_ = new QLabel(this); error_label_->setFont(font); - // error_label_->setStyleSheet("color: #E22826"); register_button_ = new RaisedButton(tr("REGISTER"), this); - // register_button_->setBackgroundColor(QColor("#333333")); - // register_button_->setForegroundColor(QColor("white")); register_button_->setMinimumSize(350, 65); register_button_->setFontSize(conf::btn::fontSize); register_button_->setCornerRadius(conf::btn::cornerRadius);