[vlmc-devel] [PATCH] fix Ctrl+Q doesn't call CloseEvent from QApplication::quit()

yikei lu luyikei.qmltu at gmail.com
Fri Mar 10 02:39:43 CET 2017


Looks good to me! Applied.

On Thu, Mar 9, 2017 at 7:37 PM, Hieu Pham <phamhuuquanghieu at gmail.com> wrote:
> ---
>  src/Gui/MainWindow.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
> index 43fc3c8..37e3507 100644
> --- a/src/Gui/MainWindow.cpp
> +++ b/src/Gui/MainWindow.cpp
> @@ -633,7 +633,7 @@ void
>  MainWindow::on_actionQuit_triggered()
>  {
>      saveSettings();
> -    QApplication::quit();
> +    close();
>  }
>
>  void
> --
> 2.9.3
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel


More information about the Vlmc-devel mailing list