Browse Source

make sure to zero window flag for login window

pull/2052/head
agilob 10 years ago
parent
commit
6afde9437c
No known key found for this signature in database
GPG Key ID: 296F0B764741106C
  1. 2
      src/widget/loginscreen.cpp

2
src/widget/loginscreen.cpp

@ -37,7 +37,7 @@ LoginScreen::LoginScreen(QWidget *parent) : @@ -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);

Loading…
Cancel
Save