eric6.py

changeset 4712
a910b5ae47c9
parent 4631
5c1a96925da4
child 4714
03c5936c79e5
equal deleted inserted replaced
4707:8336901cdbfa 4712:a910b5ae47c9
315 # is there a set of filenames or options on the command line, 315 # is there a set of filenames or options on the command line,
316 # if so, pass them to the UI 316 # if so, pass them to the UI
317 if len(sys.argv) > 1: 317 if len(sys.argv) > 1:
318 args = sys.argv[1:] 318 args = sys.argv[1:]
319 319
320 # TODO: this code is misleading - it applies to Qt5 as well
320 # get the Qt4 translations directory 321 # get the Qt4 translations directory
321 qt4TransDir = Preferences.getQt4TranslationsDir() 322 qt4TransDir = Preferences.getQt4TranslationsDir()
322 if not qt4TransDir: 323 if not qt4TransDir:
323 qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath) 324 qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
324 325

eric ide

mercurial