forked from openlp/openlp
Fix initial display
This commit is contained in:
parent
e0bfaf07bc
commit
e1f97fc9b9
@ -45,7 +45,6 @@ class GeneralTab(SettingsTab):
|
|||||||
settings.beginGroup(self.settingsSection)
|
settings.beginGroup(self.settingsSection)
|
||||||
self.MonitorNumber = settings.value(u'monitor',
|
self.MonitorNumber = settings.value(u'monitor',
|
||||||
QtCore.QVariant(self.screens.display_count - 1)).toInt()[0]
|
QtCore.QVariant(self.screens.display_count - 1)).toInt()[0]
|
||||||
print self.MonitorNumber, self.screens.monitor_number, self.screens.display_count, self.screens.screen_list
|
|
||||||
self.screens.set_current_display(self.MonitorNumber)
|
self.screens.set_current_display(self.MonitorNumber)
|
||||||
self.screens.monitor_number = self.MonitorNumber
|
self.screens.monitor_number = self.MonitorNumber
|
||||||
self.DisplayOnMonitor = settings.value(
|
self.DisplayOnMonitor = settings.value(
|
||||||
|
@ -45,6 +45,7 @@ class MediaPlugin(Plugin):
|
|||||||
self.video_list = u''
|
self.video_list = u''
|
||||||
for mimetype in Phonon.BackendCapabilities.availableMimeTypes():
|
for mimetype in Phonon.BackendCapabilities.availableMimeTypes():
|
||||||
mimetype = unicode(mimetype)
|
mimetype = unicode(mimetype)
|
||||||
|
print mimetype
|
||||||
type = mimetype.split(u'audio/x-')
|
type = mimetype.split(u'audio/x-')
|
||||||
self.audio_list, mimetype = self._add_to_list(self.audio_list, type, mimetype)
|
self.audio_list, mimetype = self._add_to_list(self.audio_list, type, mimetype)
|
||||||
type = mimetype.split(u'audio/')
|
type = mimetype.split(u'audio/')
|
||||||
|
Loading…
Reference in New Issue
Block a user