From c4afe067920f5bf13f06f0b2781b3619fe991344 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 28 Dec 2019 11:02:18 +0530 Subject: [PATCH] Release the GIL while drawing the snake spinner --- src/calibre/gui2/progress_indicator/QProgressIndicator.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/progress_indicator/QProgressIndicator.sip b/src/calibre/gui2/progress_indicator/QProgressIndicator.sip index 559f2b19d1..26f145b8fd 100644 --- a/src/calibre/gui2/progress_indicator/QProgressIndicator.sip +++ b/src/calibre/gui2/progress_indicator/QProgressIndicator.sip @@ -57,4 +57,4 @@ protected: int load_style(QHash icon_map, int transient_scroller); void set_no_activate_on_click(QWidget *widget); -void draw_snake_spinner(QPainter &painter, QRect rect, int angle, const QColor & light, const QColor & dark); +void draw_snake_spinner(QPainter &painter, QRect rect, int angle, const QColor & light, const QColor & dark) /ReleaseGIL/;