Revert "translation string fix"

Causes 'AlgorithmDialog' object has no attribute 'trUtf8' error when
trying to launch processing algorithms
This commit is contained in:
Nyall Dawson 2017-08-05 06:50:52 +10:00
parent 69a25d0f43
commit 79a095cb69
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class GdalAlgorithmDialog(AlgorithmDialog):
self.setMainWidget(GdalParametersPanel(self, alg))
self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment

View File

@ -83,7 +83,7 @@ class AlgorithmDialog(AlgorithmDialogBase):
self.bar.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
self.layout().insertWidget(0, self.bar)
self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment