removed __init__ as its not needed

This commit is contained in:
Philip Ridout 2013-08-10 21:40:12 +01:00
parent 03638ddea6
commit 0e155daaf6
2 changed files with 1 additions and 4 deletions

View File

@ -41,9 +41,6 @@ from openlp.core.lib.ui import UiStrings
log = logging.getLogger(__name__)
class FileDialog(QtGui.QFileDialog):
def __init__(self):
QtGui.QFileDialog.__init__(self)
def getOpenFileNames(self, parent, title, path, filters):
files = QtGui.QFileDialog.getOpenFileNames(parent, title, path, filters)
file_list = QtCore.QStringList()

View File

@ -82,7 +82,7 @@ class UiStrings(object):
self.FNF = unicode(translate('OpenLP.Ui',
'File %s not found.\nPlease try selecting it individually.'))
self.FontSizePtUnit = translate('OpenLP.Ui', 'pt',
'Abbreviated font pointsize unit')ad
'Abbreviated font pointsize unit')
self.Help = translate('OpenLP.Ui', 'Help')
self.Hours = translate('OpenLP.Ui', 'h',
'The abbreviated unit for hours')