mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
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
This commit is contained in:
parent
9b9b6bae99
commit
3262326657
|
@ -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…
Reference in New Issue
Block a user