qt5-tools-qtwebkit.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From 3c30956e65a98706d283d44e07fd481a1849f74e Mon Sep 17 00:00:00 2001
  2. From: Alexander Volkov <avolkov@astralinux.ru>
  3. Date: Tue, 26 May 2020 22:20:31 +0300
  4. Subject: Assistant: Fix build with qtwebkit
  5. Amend b3cdd63d4bdaea09222fb93ffcd5104a2dc0bf2e.
  6. Don't declare HelpViewer::resizeEvent() when HelpViewer
  7. is inherited from QWebView to avoid linker error.
  8. Change-Id: Ib4ca6823cf17c238eb08ecc531870d66db202269
  9. Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
  10. ---
  11. src/assistant/assistant/helpviewer.h | 2 ++
  12. 1 file changed, 2 insertions(+)
  13. diff --git a/src/assistant/assistant/helpviewer.h b/src/assistant/assistant/helpviewer.h
  14. index fa954cc9f..acd38c66e 100644
  15. --- a/src/assistant/assistant/helpviewer.h
  16. +++ b/src/assistant/assistant/helpviewer.h
  17. @@ -130,7 +130,9 @@ protected:
  18. void wheelEvent(QWheelEvent *event) override;
  19. void mousePressEvent(QMouseEvent *event) override;
  20. void mouseReleaseEvent(QMouseEvent *event) override;
  21. +#if defined(BROWSER_QTEXTBROWSER)
  22. void resizeEvent(QResizeEvent *e) override;
  23. +#endif
  24. private slots:
  25. void actionChanged();
  26. --
  27. cgit v1.2.1