Qt4: accept close event on main interface (fix #4606)
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jul 2011 16:17:14 +0000 (19:17 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jul 2011 16:20:09 +0000 (19:20 +0300)
commitc85aa861334a2693ee404301541a64d8941dd9eb
tree0f6aecbdc0b86d7fbbcf4f9ee93f0fabb004a64d
parent483e293e09ed24065ff0b9ebce93825e717354a7
Qt4: accept close event on main interface (fix #4606)

If the event is ignored, the Qt4-X11 will reject the quit ICCM request.
This annoyingly caused VLC to inhibit logging out.
(cherry picked from commit 96fce709b0615071b5ddc17d8560a9c5794cc3b9)

Conflicts:

modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp