Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(widget): do not block logout on Linux desktop environments v2
Revert commit 191fc15 to use closeEvent() but without QEvent::ignore() which blocked logout on various Linux desktops, and without redundant hide(). Previous fix with hideEvent() produced regressions because hide() is used in various places, which produced closing behavior. Since qApp->setQuitOnLastWindowClosed(false) is used, and Qt::WA_DeleteOnClose is *NOT* used, default closeEvent() handling is enough for implementing close-to-systray feature. Improves fix for qTox#1485 and closes qTox#3699
- Loading branch information