1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

make sure to zero window flag for login window

This commit is contained in:
agilob 2015-08-20 22:27:13 +01:00
parent d0d9951eb3
commit 6afde9437c
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -37,7 +37,7 @@ LoginScreen::LoginScreen(QWidget *parent) :
ui->setupUi(this);
// 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());
connect(&quitShortcut, &QShortcut::activated, this, &LoginScreen::close);
@ -109,7 +109,7 @@ void LoginScreen::onLoginPageClicked()
}
void LoginScreen::onCreateNewProfile()
{
{
QString name = ui->newUsername->text();
QString pass = ui->newPass->text();