diff options
author | Teteros | 2018-10-06 17:25:43 +0100 |
---|---|---|
committer | Teteros | 2018-10-06 17:25:43 +0100 |
commit | e09f0b21179c485247ba0d26d433874c6e4fd0b4 (patch) | |
tree | 474cc18d5a8fa954a84912140f3a743994aea28e /fix-qt5.11-comp.patch | |
parent | 24b1cad10a066382e5091c1f7cc7e07a474636b5 (diff) | |
download | aur-e09f0b21179c485247ba0d26d433874c6e4fd0b4.tar.gz |
5.9.4: Bump version
Diffstat (limited to 'fix-qt5.11-comp.patch')
-rw-r--r-- | fix-qt5.11-comp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fix-qt5.11-comp.patch b/fix-qt5.11-comp.patch new file mode 100644 index 000000000000..2a5d0a88ec77 --- /dev/null +++ b/fix-qt5.11-comp.patch @@ -0,0 +1,15 @@ +diff --git a/api/api_gui_proc.h b/api/api_gui_proc.h +index e7d0d85..7d1600e 100644 +--- a/api/api_gui_proc.h ++++ b/api/api_gui_proc.h +@@ -35,9 +35,9 @@ int64_t API_get_gui_from_existing_widget(QWidget *widget); + + #if defined(QREGION_H) + void API_run_paint_event_for_custom_widget(QWidget *widget, QPaintEvent *ev, const QRegion &already_painted_areas); ++bool API_run_custom_gui_paint_function(QWidget *widget, QPainter *p, const QRegion *region, std::function<void(void)> func); + #endif + +-bool API_run_custom_gui_paint_function(QWidget *widget, QPainter *p, const QRegion *region, std::function<void(void)> func); + + bool API_run_mouse_press_event_for_custom_widget(QWidget *widget, QMouseEvent *ev); + bool API_run_mouse_move_event_for_custom_widget(QWidget *widget, QMouseEvent *ev); |