From 893618db87d29f1cb46e52c7ae914e18ca0b1467 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 17:37:30 -0600 Subject: [PATCH] Rename tqt3 color functions --- displayconfig/displayconfighardwaretab.py | 2 +- displayconfig/energy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)