mirror of https://gitlab.com/openlp/openlp.git
fixed bug 1050081 'display screen - hide mouse by default'
Fixes: https://launchpad.net/bugs/1050081
This commit is contained in:
parent
b1cfabc4f3
commit
f375d4b0b8
|
@ -477,7 +477,7 @@ class AdvancedTab(SettingsTab):
|
|||
settings.value(u'enable exit confirmation',
|
||||
QtCore.QVariant(True)).toBool())
|
||||
self.hideMouseCheckBox.setChecked(
|
||||
settings.value(u'hide mouse', QtCore.QVariant(False)).toBool())
|
||||
settings.value(u'hide mouse', QtCore.QVariant(True)).toBool())
|
||||
self.serviceNameDay.setCurrentIndex(
|
||||
settings.value(u'default service day',
|
||||
QtCore.QVariant(self.defaultServiceDay)).toInt()[0])
|
||||
|
@ -766,7 +766,7 @@ class AdvancedTab(SettingsTab):
|
|||
self.dataExists = False
|
||||
self.dataDirectoryCopyCheckBox.setChecked(True)
|
||||
self.newDataDirectoryHasFilesLabel.hide()
|
||||
|
||||
|
||||
def onDataDirectoryCancelButtonClicked(self):
|
||||
"""
|
||||
Cancel the data directory location change
|
||||
|
|
|
@ -490,7 +490,7 @@ class MainDisplay(Display):
|
|||
Hide mouse cursor when moved over display.
|
||||
"""
|
||||
if Settings().value(u'advanced/hide mouse',
|
||||
QtCore.QVariant(False)).toBool():
|
||||
QtCore.QVariant(True)).toBool():
|
||||
self.setCursor(QtCore.Qt.BlankCursor)
|
||||
self.frame.evaluateJavaScript('document.body.style.cursor = "none"')
|
||||
else:
|
||||
|
|
|
@ -113,8 +113,7 @@ class VlcPlayer(MediaPlayer):
|
|||
if not display.hasAudio:
|
||||
command_line_options += u' --no-audio --no-video-title-show'
|
||||
if Settings().value(u'advanced/hide mouse',
|
||||
QtCore.QVariant(False)).toBool() and \
|
||||
display.controller.isLive:
|
||||
QtCore.QVariant(True)).toBool() and display.controller.isLive:
|
||||
command_line_options += u' --mouse-hide-timeout=0'
|
||||
display.vlcInstance = vlc.Instance(command_line_options)
|
||||
display.vlcInstance.set_log_verbosity(2)
|
||||
|
|
Loading…
Reference in New Issue