|
|
@ -37,7 +37,7 @@ LoginScreen::LoginScreen(QWidget *parent) : |
|
|
|
ui->setupUi(this); |
|
|
|
ui->setupUi(this); |
|
|
|
|
|
|
|
|
|
|
|
// permanently disables maximize button https://github.com/tux3/qTox/issues/1973
|
|
|
|
// permanently disables maximize button https://github.com/tux3/qTox/issues/1973
|
|
|
|
this->setWindowFlags(windowFlags() ^ Qt::WindowMaximizeButtonHint); |
|
|
|
this->setWindowFlags(windowFlags() &! Qt::WindowMaximizeButtonHint); |
|
|
|
this->setFixedSize(this->size()); |
|
|
|
this->setFixedSize(this->size()); |
|
|
|
|
|
|
|
|
|
|
|
connect(&quitShortcut, &QShortcut::activated, this, &LoginScreen::close); |
|
|
|
connect(&quitShortcut, &QShortcut::activated, this, &LoginScreen::close); |
|
|
@ -109,7 +109,7 @@ void LoginScreen::onLoginPageClicked() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void LoginScreen::onCreateNewProfile() |
|
|
|
void LoginScreen::onCreateNewProfile() |
|
|
|
{ |
|
|
|
{ |
|
|
|
QString name = ui->newUsername->text(); |
|
|
|
QString name = ui->newUsername->text(); |
|
|
|
QString pass = ui->newPass->text(); |
|
|
|
QString pass = ui->newPass->text(); |
|
|
|
|
|
|
|
|
|
|
|