Browse Source

qml: change cancel behavior in player

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/103/head
Pierre Lamot 7 years ago
committed by Jean-Baptiste Kempf
parent
commit
308369494d
  1. 10
      modules/gui/qt/player/qml/Player.qml

10
modules/gui/qt/player/qml/Player.qml

@ -61,10 +61,14 @@ Widgets.NavigableFocusScope {
}
navigationCancel: function() {
if (player.hasVideoOutput) {
mainPlaylistController.stop()
if (rootWindow.hasEmbededVideo && controlBarView.state === "visible") {
toolbarAutoHide._setVisibleControlBar(false)
} else {
if (player.hasVideoOutput) {
mainPlaylistController.stop()
}
history.previous()
}
history.previous()
}
//property alias centralLayout: mainLayout.centralLayout

Loading…
Cancel
Save