diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-18 16:22:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-18 16:22:24 +0900 |
commit | aa6764916ff2706bc094a8858691f9b0a98f395c (patch) | |
tree | d26403e8350537c2bdc4be9c967af960640e41f4 /examples/desktop.py | |
parent | cba162755d7b1b72e68d1fb3906df621b9f001cc (diff) | |
download | pytqt-aa6764916ff2706bc094a8858691f9b0a98f395c.tar.gz pytqt-aa6764916ff2706bc094a8858691f9b0a98f395c.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/desktop.py')
-rwxr-xr-x | examples/desktop.py | 2 |
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) |