removed non-necessary variable

This commit is contained in:
Garrett 2011-01-17 11:24:37 -08:00
parent 55e23bcfbc
commit 84882c4841
1 changed files with 2 additions and 4 deletions

View File

@ -117,7 +117,6 @@ class MainDisplay(DisplayWidget):
QtCore.QObject.connect(Receiver.get_receiver(),
QtCore.SIGNAL(u'maindisplay_show'), self.showDisplay)
self.advancedSettingsSection = u'advanced'
def retranslateUi(self):
"""
Setup the interface translation strings.
@ -427,10 +426,9 @@ class MainDisplay(DisplayWidget):
# if was hidden keep it hidden
if self.hideMode and self.isLive:
self.hideDisplay(self.hideMode)
# Hide the mouse cursor over display if enabled in settings
# Hide mouse cursor when moved over display if enabled in settings
settings = QtCore.QSettings()
if settings.value(u'%s/hide mouse' % self.advancedSettingsSection,
QtCore.QVariant(False)).toBool():
if settings.value(u'advanced/hide mouse', QtCore.QVariant(False)).toBool():
self.setCursor(QtCore.Qt.BlankCursor)
self.frame.evaluateJavaScript('document.body.style.cursor = "none"')
else: