Browse Source

Fix #681

When minimized to tray, if a popup is closed, Qt notices that the last window is closed and exits. Tel Tell friend request dialogs to not exit on close
pull/1049/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
3262326657
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 1
      src/widget/tool/friendrequestdialog.cpp

1
src/widget/tool/friendrequestdialog.cpp

@ -26,6 +26,7 @@ @@ -26,6 +26,7 @@
FriendRequestDialog::FriendRequestDialog(QWidget *parent, const QString &userId, const QString &message) :
QDialog(parent)
{
setAttribute(Qt::WA_QuitOnClose, false);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("Friend request","Title of the window to aceept/deny a friend request"));

Loading…
Cancel
Save