forked from openlp/openlp
removed __init__ as its not needed
This commit is contained in:
parent
03638ddea6
commit
0e155daaf6
@ -41,9 +41,6 @@ from openlp.core.lib.ui import UiStrings
|
|||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
class FileDialog(QtGui.QFileDialog):
|
class FileDialog(QtGui.QFileDialog):
|
||||||
def __init__(self):
|
|
||||||
QtGui.QFileDialog.__init__(self)
|
|
||||||
|
|
||||||
def getOpenFileNames(self, parent, title, path, filters):
|
def getOpenFileNames(self, parent, title, path, filters):
|
||||||
files = QtGui.QFileDialog.getOpenFileNames(parent, title, path, filters)
|
files = QtGui.QFileDialog.getOpenFileNames(parent, title, path, filters)
|
||||||
file_list = QtCore.QStringList()
|
file_list = QtCore.QStringList()
|
||||||
|
@ -82,7 +82,7 @@ class UiStrings(object):
|
|||||||
self.FNF = unicode(translate('OpenLP.Ui',
|
self.FNF = unicode(translate('OpenLP.Ui',
|
||||||
'File %s not found.\nPlease try selecting it individually.'))
|
'File %s not found.\nPlease try selecting it individually.'))
|
||||||
self.FontSizePtUnit = translate('OpenLP.Ui', 'pt',
|
self.FontSizePtUnit = translate('OpenLP.Ui', 'pt',
|
||||||
'Abbreviated font pointsize unit')ad
|
'Abbreviated font pointsize unit')
|
||||||
self.Help = translate('OpenLP.Ui', 'Help')
|
self.Help = translate('OpenLP.Ui', 'Help')
|
||||||
self.Hours = translate('OpenLP.Ui', 'h',
|
self.Hours = translate('OpenLP.Ui', 'h',
|
||||||
'The abbreviated unit for hours')
|
'The abbreviated unit for hours')
|
||||||
|
Loading…
Reference in New Issue
Block a user