mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
closes #1973
This commit is contained in:
parent
74b771373d
commit
d0d9951eb3
|
@ -36,6 +36,10 @@ LoginScreen::LoginScreen(QWidget *parent) :
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
// permanently disables maximize button https://github.com/tux3/qTox/issues/1973
|
||||||
|
this->setWindowFlags(windowFlags() ^ Qt::WindowMaximizeButtonHint);
|
||||||
|
this->setFixedSize(this->size());
|
||||||
|
|
||||||
connect(&quitShortcut, &QShortcut::activated, this, &LoginScreen::close);
|
connect(&quitShortcut, &QShortcut::activated, this, &LoginScreen::close);
|
||||||
connect(ui->newProfilePgbtn, &QPushButton::clicked, this, &LoginScreen::onNewProfilePageClicked);
|
connect(ui->newProfilePgbtn, &QPushButton::clicked, this, &LoginScreen::onNewProfilePageClicked);
|
||||||
connect(ui->loginPgbtn, &QPushButton::clicked, this, &LoginScreen::onLoginPageClicked);
|
connect(ui->loginPgbtn, &QPushButton::clicked, this, &LoginScreen::onLoginPageClicked);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user