Fixed some code snippets used in the PySide docs.
This commit is contained in:
parent
829ffd3dfd
commit
1508831725
8 changed files with 28 additions and 28 deletions
|
|
@ -113,7 +113,7 @@ def createConclusionPage(self):
|
|||
def main():
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
translatorFileName = QLatin1String("qt_")
|
||||
translatorFileName = "qt_"
|
||||
translatorFileName += QLocale.system().name()
|
||||
translator = QTranslator(app)
|
||||
if translator.load(translatorFileName, QLibraryInfo.location(QLibraryInfo.TranslationsPath)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue