summaryrefslogtreecommitdiffstats
path: root/examples/desktop.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-18 16:22:24 +0900
committerMichele Calgaro <[email protected]>2023-07-18 16:22:24 +0900
commitaa6764916ff2706bc094a8858691f9b0a98f395c (patch)
treed26403e8350537c2bdc4be9c967af960640e41f4 /examples/desktop.py
parentcba162755d7b1b72e68d1fb3906df621b9f001cc (diff)
downloadpytqt-aa6764916ff2706bc094a8858691f9b0a98f395c.tar.gz
pytqt-aa6764916ff2706bc094a8858691f9b0a98f395c.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/desktop.py')
-rwxr-xr-xexamples/desktop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/desktop.py b/examples/desktop.py
index f695835..f3744d8 100755
--- a/examples/desktop.py
+++ b/examples/desktop.py
@@ -164,7 +164,7 @@ def desktopWidget(s='Trolltech'):
def desktopText(s='Trolltech'):
border = 20
- c1 = tqApp.palette().normal().background()
+ c1 = tqApp.palette().active().background()
c2 = c1.light(104)
c3 = c1.dark(106)