qml: avoid crash at exit when dismissing dialog
commit38980e95cecf4276c2ab33fb58811a5e2e0f0052
authorPierre Lamot <pierre@videolabs.io>
Tue, 4 Feb 2020 14:44:15 +0000 (4 15:44 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Feb 2020 10:09:30 +0000 (13 11:09 +0100)
treeb61fb616c5086068b40f4f4d740c748b35e06c1e
parent5cd79a3cd7c327d2dc7804abf0ac8f09ae508156
qml: avoid crash at exit when dismissing dialog

  loginDialog.dialogId stayed defined (hence dissmissed at exit) when
  accepting/dismissing the dialog without clicking on a button

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml