QML: Remove binding for quit key in presentation

This commit is contained in:
Adriaan de Groot 2018-03-06 05:18:30 -05:00
parent 345118aec9
commit 97eff28383

View File

@ -7,6 +7,7 @@
* - drop navigation through entering a slide number * - drop navigation through entering a slide number
* (this and the 'c' key make sense in a *presentation* * (this and the 'c' key make sense in a *presentation*
* slideshow, not in a passive slideshow like Calamares) * slideshow, not in a passive slideshow like Calamares)
* - remove quit key
* *
* SPDX-License-Identifier: LGPL-2.1 * SPDX-License-Identifier: LGPL-2.1
* License-Filename: LICENSES/LGPLv2.1-Presentation * License-Filename: LICENSES/LGPLv2.1-Presentation
@ -62,7 +63,7 @@ Item {
property variant slides: [] property variant slides: []
property int currentSlide: 0 property int currentSlide: 0
property bool loopSlides: true property bool loopSlides: true
property bool showNotes: false; property bool showNotes: false;
@ -146,7 +147,6 @@ Item {
// standard shortcuts // standard shortcuts
Shortcut { sequence: StandardKey.MoveToNextPage; onActivated: goToNextSlide() } Shortcut { sequence: StandardKey.MoveToNextPage; onActivated: goToNextSlide() }
Shortcut { sequence: StandardKey.MoveToPreviousPage; onActivated: goToPreviousSlide() } Shortcut { sequence: StandardKey.MoveToPreviousPage; onActivated: goToPreviousSlide() }
Shortcut { sequence: StandardKey.Quit; onActivated: Qt.quit() }
MouseArea { MouseArea {
id: mouseArea id: mouseArea