forked from openlp/openlp
clean up
This commit is contained in:
parent
1fe4e0a56a
commit
b0585297fb
@ -214,8 +214,7 @@ class ExceptionForm(QtGui.QDialog, Ui_ExceptionDialog):
|
||||
|
||||
def onAttachFileButtonClicked(self):
|
||||
files = QtGui.QFileDialog.getOpenFileName(
|
||||
self,translate('ImagePlugin.ExceptionDialog',
|
||||
'Select Attachment'),
|
||||
self, translate('ImagePlugin.ExceptionDialog', 'Select Attachment'),
|
||||
SettingsManager.get_last_dir(u'exceptions'),
|
||||
u'%s (*.*) (*)' % UiStrings().AllFiles)
|
||||
log.info(u'New files(s) %s', unicode(files))
|
||||
|
@ -339,7 +339,7 @@ class WebkitPlayer(MediaPlayer):
|
||||
else:
|
||||
display.frame.evaluateJavaScript(u'show_video("play");')
|
||||
if start_time > 0:
|
||||
self.seek(display, controller.media_info.start_time*1000)
|
||||
self.seek(display, controller.media_info.start_time * 1000)
|
||||
# TODO add playing check and get the correct media length
|
||||
controller.media_info.length = length
|
||||
self.state = MediaState.Playing
|
||||
|
Loading…
Reference in New Issue
Block a user