diff --git a/displayconfig/displayconfighardwaretab.py b/displayconfig/displayconfighardwaretab.py index 90c019e..833dea6 100644 --- a/displayconfig/displayconfighardwaretab.py +++ b/displayconfig/displayconfighardwaretab.py @@ -730,7 +730,7 @@ class Form1(QDialog): def __tr(self,s,c = None): - return qApp.translate("Form1",s,c) + return tqApp.translate("Form1",s,c) if __name__ == "__main__": a = QApplication(sys.argv) diff --git a/displayconfig/energy.py b/displayconfig/energy.py index 5c3f681..28c0799 100644 --- a/displayconfig/energy.py +++ b/displayconfig/energy.py @@ -83,4 +83,4 @@ class DPMSTab(QDialog): def __tr(self,s,c = None): - return qApp.translate("DPMSTab",s,c) + return tqApp.translate("DPMSTab",s,c)