From fc34f373df6b1671e8ea1f32e7c4fa423c76f1d9 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 22 Nov 2017 21:13:22 +0200 Subject: Remove unnecessary comments --- src/RegisterPage.cc | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/RegisterPage.cc') 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 -#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 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 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 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); -- cgit 1.5.1