diff options
author | Simo Fält <simo.falt@qt.io> | 2022-09-01 08:15:19 +0300 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2022-09-01 08:15:19 +0300 |
commit | 789fc5d65d2e0ba95cda25e63f74dd4def87a775 (patch) | |
tree | 28019fcbb368b64fad68d930a2587ee22092d71b /examples/widgets/codeeditor/codeeditor.py | |
parent | 54a301d83910a760ff7f7aa5bea1e3c3d7226bc8 (diff) | |
parent | 0ad10f40c9cdbe6d054b6e7ffd60d14846a1d4aa (diff) |
Merge remote-tracking branch 'origin/6.3' into wip/6.3_pypy
Change-Id: I049daa7bbac16b4cf680dc60d65553277064b231
Diffstat (limited to 'examples/widgets/codeeditor/codeeditor.py')
-rw-r--r-- | examples/widgets/codeeditor/codeeditor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/codeeditor/codeeditor.py b/examples/widgets/codeeditor/codeeditor.py index 25290c63f..1961b2f4b 100644 --- a/examples/widgets/codeeditor/codeeditor.py +++ b/examples/widgets/codeeditor/codeeditor.py @@ -106,11 +106,11 @@ class CodeEditor(QPlainTextEdit): bottom = top + self.blockBoundingRect(block).height() block_number += 1 - @Slot() + @Slot(int) def update_line_number_area_width(self, newBlockCount): self.setViewportMargins(self.line_number_area_width(), 0, 0, 0) - @Slot() + @Slot(QRect, int) def update_line_number_area(self, rect, dy): if dy: self.line_number_area.scroll(0, dy) |